zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Aggregates/OrderAggregate/IOrderRepository.cs
2023-12-05 17:22:48 +08:00

17 lines
443 B
C#

using ZeroFramework.DeviceCenter.Domain.Repositories;
namespace ZeroFramework.DeviceCenter.Domain.Aggregates.OrderAggregate
{
//This is just the RepositoryContracts or Interface defined at the Domain Layer
//as requisite for the Order Aggregate
public interface IOrderRepository : IRepository<Order>
{
Order Add(Order order);
void Update(Order order);
Task<Order> GetAsync(Guid orderId);
}
}