Модуль заказов

This commit is contained in:
Халимов Рустам
2026-02-10 22:32:28 +03:00
parent 12c86f9937
commit 3b2c0029a1
33 changed files with 1370 additions and 33 deletions
@@ -0,0 +1,10 @@
using OrderAggregate = Nashel.Modules.Order.Domain.Aggregates.Order;
namespace Nashel.Modules.Order.Domain.Repositories;
public interface IOrderRepository
{
Task<OrderAggregate?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default);
Task AddAsync(OrderAggregate order, CancellationToken cancellationToken = default);
Task SaveChangesAsync(CancellationToken cancellationToken = default);
}