17 lines
559 B
C#
17 lines
559 B
C#
using PizzeriaContracts.BindingModels;
|
|
using PizzeriaContracts.SearchModels;
|
|
using PizzeriaContracts.ViewModels;
|
|
|
|
namespace PizzeriaContracts.StoragesContracts
|
|
{
|
|
public interface IPizzaStorage
|
|
{
|
|
List<PizzaViewModel> GetFullList();
|
|
List<PizzaViewModel> GetFilteredList(PizzaSearchModel model);
|
|
PizzaViewModel? GetElement(PizzaSearchModel model);
|
|
PizzaViewModel? Insert(PizzaBindingModel model);
|
|
PizzaViewModel? Update(PizzaBindingModel model);
|
|
PizzaViewModel? Delete(PizzaBindingModel model);
|
|
}
|
|
}
|