using ConfectioneryContracts.BindingModels;
using ConfectioneryContracts.SearchModels;
using ConfectioneryContracts.ViewModels;

namespace ConfectioneryContracts.StoragesContract
{
    public interface IPastryStorage
    {
        List<PastryViewModel> GetFullList();
        List<PastryViewModel> GetFilteredList(PastrySearchModel model);
        PastryViewModel? GetElement(PastrySearchModel model);
        PastryViewModel? Insert(PastryBindingModel model);
        PastryViewModel? Update(PastryBindingModel model);
        PastryViewModel? Delete(PastryBindingModel model);
    }
}