Renamed IRepository to IAggregateRepository

This commit is contained in:
CESARDL 2017-02-02 16:10:06 -08:00
parent 4708b89457
commit 795c786625
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.B
//This is just the RepositoryContracts or Interface defined at the Domain Layer
//as requisite for the Buyer Aggregate
public interface IBuyerRepository
:IRepository
:IAggregateRepository
{
Buyer Add(Buyer buyer);

View File

@ -5,7 +5,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
//This is just the RepositoryContracts or Interface defined at the Domain Layer
//as requisite for the Order Aggregate
public interface IOrderRepository
:IRepository
:IAggregateRepository
{
Order Add(Order order);
}

View File

@ -1,6 +1,6 @@
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork
{
public interface IRepository
public interface IAggregateRepository
{
IUnitOfWork UnitOfWork { get; }
}