17 lines
314 B
C#
17 lines
314 B
C#
|
using GasStation.Entities;
|
|||
|
|
|||
|
namespace GasStation.Repositories;
|
|||
|
|
|||
|
public interface ISupplierRepository
|
|||
|
{
|
|||
|
IEnumerable<Supplier> ReadSupplier();
|
|||
|
|
|||
|
Supplier ReadSupplierByID(int id);
|
|||
|
|
|||
|
void CreateSupplier(Supplier supplier);
|
|||
|
|
|||
|
void UpdateSupplier(Supplier supplier);
|
|||
|
|
|||
|
void DeleteSupplier(int id);
|
|||
|
}
|