ISEbd-22_Rozhkov.I.E._Simple/GasStation/Repositories/IProductRepository.cs

17 lines
302 B
C#
Raw Normal View History

2024-11-15 18:27:06 +04:00
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);
}