using IceCreamShopContracts.BindingModels; using IceCreamShopContracts.SearchModels; using IceCreamShopContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IceCreamShopContracts.StoragesContracts { public interface IIceCreamStorage { List GetFullList(); List GetFilteredList(IceCreamSearchModel model); IceCreamViewModel? GetElement(IceCreamSearchModel model); IceCreamViewModel? Insert(IceCreamBindingModel model); IceCreamViewModel? Update(IceCreamBindingModel model); IceCreamViewModel? Delete(IceCreamBindingModel model); } }