PIbd-21_Raspaev_N.I._FoodOr.../FoodOrders/FoodOrdersContracts/BuisnessLogicsContracts/IDishLogic.cs

15 lines
481 B
C#
Raw Normal View History

2023-02-07 13:00:02 +04:00
using FoodOrdersContracts.BindingModels;
using FoodOrdersContracts.SearchModels;
using FoodOrdersContracts.ViewModels;
namespace FoodOrdersContracts.BusinessLogicsContracts
{
public interface IDishLogic
{
2023-02-12 10:11:34 +04:00
List<DishViewModel>? ReadList(DishSearchModel? model);
DishViewModel? ReadElement(DishSearchModel model);
2023-02-07 13:00:02 +04:00
bool Create(DishBindingModel model);
bool Update(DishBindingModel model);
bool Delete(DishBindingModel model);
}
2023-02-12 10:11:34 +04:00
}