14 lines
297 B
C#
14 lines
297 B
C#
using ProjectSellPC.Entites;
|
|
|
|
namespace ProjectSellPC.Repos
|
|
{
|
|
public interface IProductRepository
|
|
{
|
|
IEnumerable<Product> ReadAll();
|
|
Product Read(int id);
|
|
void Create(Product product);
|
|
Product Update(Product product);
|
|
void Delete(int id);
|
|
}
|
|
}
|