PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IPizzaLogic.cs
2024-05-22 11:35:35 +03:00

17 lines
516 B
C#

using System.Collections.Generic;
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);
}
}