14 lines
324 B
C#
14 lines
324 B
C#
namespace ProjectLibrary.Repositories
|
|
{
|
|
using ProjectLibrary.Entites;
|
|
|
|
public interface IOrderRepository
|
|
{
|
|
IEnumerable<Orders> ReadOrders();
|
|
Orders ReadOrderById(int id);
|
|
void CreateOrder(Orders order);
|
|
void UpdateOrder(Orders order);
|
|
void DeleteOrder(int id);
|
|
}
|
|
}
|