10 lines
272 B
C#
10 lines
272 B
C#
namespace Distribution.Features.Invoice;
|
|
|
|
public interface IInvoiceRepository
|
|
{
|
|
Task<Models.Invoice?> GetByIdAsync(Guid id);
|
|
Task<Models.Invoice?> GetByOrderIdAsync(Guid orderId);
|
|
Task AddAsync(Models.Invoice entity);
|
|
void Update(Models.Invoice entity);
|
|
}
|