2024-05-22 12:35:35 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using PizzeriaContracts.BindingModels;
|
2024-03-11 00:29:35 +04:00
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|