17 lines
302 B
C#
17 lines
302 B
C#
using GasStation.Entities;
|
|
|
|
namespace GasStation.Repositories;
|
|
|
|
public interface IProductRepository
|
|
{
|
|
IEnumerable<Product> ReadProduct();
|
|
|
|
Product ReadProductByID(int id);
|
|
|
|
void CreateProduct(Product product);
|
|
|
|
void UpdateProduct(Product product);
|
|
|
|
void DeleteProduct(int id);
|
|
}
|