16 lines
484 B
C#
16 lines
484 B
C#
|
using FoodOrdersContracts.BindingModels;
|
|||
|
using FoodOrdersContracts.SearchModels;
|
|||
|
using FoodOrdersContracts.ViewModels;
|
|||
|
|
|||
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
|||
|
{
|
|||
|
public interface IDishLogic
|
|||
|
{
|
|||
|
List<DishViewModel>? ReadList(DishesearchModel? model);
|
|||
|
DishViewModel? ReadElement(DishesearchModel model);
|
|||
|
bool Create(DishBindingModel model);
|
|||
|
bool Update(DishBindingModel model);
|
|||
|
bool Delete(DishBindingModel model);
|
|||
|
}
|
|||
|
}
|