2024-11-12 23:13:20 +04:00
|
|
|
|
namespace ProjectLibrary.Repositories
|
|
|
|
|
{
|
|
|
|
|
using ProjectLibrary.Entites;
|
|
|
|
|
|
|
|
|
|
public interface IOrderRepository
|
|
|
|
|
{
|
2024-12-20 11:52:29 +04:00
|
|
|
|
IEnumerable<Orders> ReadOrders(DateTime? StartDate = null, DateTime? EndDate = null);
|
2024-11-12 23:13:20 +04:00
|
|
|
|
Orders ReadOrderById(int id);
|
|
|
|
|
void CreateOrder(Orders order);
|
|
|
|
|
void DeleteOrder(int id);
|
|
|
|
|
}
|
|
|
|
|
}
|