6d8b6b3e59
Implemented DeliveryTask, Payment, and Sale entities with full CRUD, business logic, and API endpoints. Updated Order/OrderItem for sale linkage and fulfillment tracking. Registered new DbSets and DI services. Revised documentation for delivery, sale, and payment workflows.
10 lines
215 B
C#
10 lines
215 B
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.Payment;
|
|
|
|
public interface IPaymentRepository
|
|
{
|
|
Task<List<Models.Payment>> GetBySaleIdAsync(Guid saleId);
|
|
Task AddAsync(Models.Payment payment);
|
|
}
|