11 lines
306 B
C#
11 lines
306 B
C#
namespace Distribution.Features.Supplier;
|
|
|
|
public interface ISupplierRepository
|
|
{
|
|
Task<Models.Supplier?> GetByIdAsync(Guid id);
|
|
Task<List<Models.Supplier>> GetAllAsync();
|
|
Task AddAsync(Models.Supplier entity);
|
|
void Update(Models.Supplier entity);
|
|
void Remove(Models.Supplier entity);
|
|
}
|