PIbd-22_Karamushko_M_K_Pizz.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IPizzaLogic.cs

17 lines
483 B
C#
Raw Normal View History

2023-02-13 20:43:19 +04:00
using PizzeriaContracts.BindingModels;
using PizzeriaContracts.SearchModels;
using PizzeriaContracts.ViewModels;
namespace PizzeriaContracts.BusinessLogicsContracts
{
public interface IPizzaLogic
{
List<PizzaViewModel>? ReadList(PizzaSearchModel? model);
PizzaViewModel? ReadElement(PizzaSearchModel model);
bool Create(PizzaBindingModel model);
bool Update(PizzaBindingModel model);
bool Delete(PizzaBindingModel model);
}
}