ProjectLib/ProjectLibrary/Repositores/Implementations/OrderRepository.cs

39 lines
754 B
C#

using ProjectLibrary.Entites;
using ProjectLibrary.Entities;
using ProjectLibrary.Repositories;
using System.Collections.Generic;
using System.Linq;
namespace ProjectLibrary.Repositories.Implementations
{
public class OrderRepository : IOrderRepository
{
public void CreateOrder(Orders order)
{
}
public void DeleteOrder(int id)
{
}
public Orders ReadOrderById(int id)
{
return Orders.CreateEntity(0, DateTime.Now, DateTime.Now, 0, []);
}
public IEnumerable<Orders> ReadOrders()
{
return [] ;
}
public void UpdateOrder(Orders order)
{
}
}
}