Browse Source

Renamed IRepository to IAggregateRepository

pull/49/merge
CESARDL 8 years ago
parent
commit
795c786625
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Services/Ordering/Ordering.Domain/AggregatesModel/BuyerAggregate/IBuyerRepository.cs
  2. +1
    -1
      src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/IOrderRepository.cs
  3. +1
    -1
      src/Services/Ordering/Ordering.Domain/SeedWork/IRepository.cs

+ 1
- 1
src/Services/Ordering/Ordering.Domain/AggregatesModel/BuyerAggregate/IBuyerRepository.cs 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);


+ 1
- 1
src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/IOrderRepository.cs 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);
}


+ 1
- 1
src/Services/Ordering/Ordering.Domain/SeedWork/IRepository.cs View File

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


Loading…
Cancel
Save