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

15 lines
481 B
C#

using FoodOrdersContracts.BindingModels;
using FoodOrdersContracts.SearchModels;
using FoodOrdersContracts.ViewModels;
namespace FoodOrdersContracts.BusinessLogicsContracts
{
public interface IDishLogic
{
List<DishViewModel>? ReadList(DishSearchModel? model);
DishViewModel? ReadElement(DishSearchModel model);
bool Create(DishBindingModel model);
bool Update(DishBindingModel model);
bool Delete(DishBindingModel model);
}
}