PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/StorageContracts/IPizzaStorage.cs

19 lines
593 B
C#
Raw Normal View History

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.StorageContracts
{
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);
}
}