PIbd-21_Zaharchenko_M.I._Pi.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IPizzaLogic.cs

16 lines
482 B
C#
Raw Normal View History

2023-02-16 08:52:03 +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);
}
}