2023-02-06 09:16:53 +04:00
|
|
|
|
using AbstractFoodOrdersContracts.BindingModels;
|
|
|
|
|
using AbstractFoodOrdersContracts.SearchModels;
|
|
|
|
|
using AbstractFoodOrdersContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AbstractFoodOrdersContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IDishStorage
|
|
|
|
|
{
|
|
|
|
|
List<DishViewModel> GetFullList();
|
|
|
|
|
List<DishViewModel> GetFilteredList(DishSearchModel model);
|
|
|
|
|
DishViewModel? GetElement(DishSearchModel model);
|
2023-02-06 11:12:20 +04:00
|
|
|
|
DishViewModel? Insert(DishBindingModel model);
|
|
|
|
|
DishViewModel? Update(DishBindingModel model);
|
|
|
|
|
DishViewModel? Delete(DishBindingModel model);
|
2023-02-06 09:16:53 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|