2023-02-07 13:00:02 +04:00
|
|
|
|
using FoodOrdersContracts.BindingModels;
|
|
|
|
|
using FoodOrdersContracts.SearchModels;
|
|
|
|
|
using FoodOrdersContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace FoodOrdersContracts.StoragesContracts
|
|
|
|
|
{
|
2023-02-12 10:11:34 +04:00
|
|
|
|
public interface IDishStorage
|
2023-02-07 13:00:02 +04:00
|
|
|
|
{
|
|
|
|
|
List<DishViewModel> GetFullList();
|
2023-02-12 10:11:34 +04:00
|
|
|
|
List<DishViewModel> GetFilteredList(DishSearchModel model);
|
|
|
|
|
DishViewModel? GetElement(DishSearchModel model);
|
2023-02-07 13:00:02 +04:00
|
|
|
|
DishViewModel? Insert(DishBindingModel model);
|
|
|
|
|
DishViewModel? Update(DishBindingModel model);
|
|
|
|
|
DishViewModel? Delete(DishBindingModel model);
|
|
|
|
|
}
|
2023-02-12 10:11:34 +04:00
|
|
|
|
}
|