13 lines
336 B
C#
13 lines
336 B
C#
namespace ProjectLibrary.Repositories
|
|
{
|
|
using ProjectLibrary.Entites;
|
|
|
|
public interface IOrderRepository
|
|
{
|
|
IEnumerable<Orders> ReadOrders(DateTime? StartDate = null, DateTime? EndDate = null);
|
|
Orders ReadOrderById(int id);
|
|
void CreateOrder(Orders order);
|
|
void DeleteOrder(int id);
|
|
}
|
|
}
|