2023-01-30 18:15:58 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SushiBarContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderStorage
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel> GetFullList();
|
2023-03-26 17:19:08 +04:00
|
|
|
|
List<OrderViewModel> GetFilteredList(OrderSearchModel? model);
|
2023-01-30 18:15:58 +04:00
|
|
|
|
OrderViewModel? GetElement(OrderSearchModel model);
|
|
|
|
|
OrderViewModel? Insert(OrderBindingModel model);
|
|
|
|
|
OrderViewModel? Update(OrderBindingModel model);
|
|
|
|
|
OrderViewModel? Delete(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|