ISEbd-22_Rozhkov.I.E._Simple/GasStation/Repositories/IProductRepository.cs
2024-11-15 18:27:06 +04:00

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);
}