using Contracts.BindingModels; using Contracts.SearchModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Contracts.StorageContracts { public interface IPurchaseStorage { PurchaseBindingModel? Insert(PurchaseBindingModel model); IEnumerable GetList(PurchaseSearchModel? model); PurchaseBindingModel? GetElement(PurchaseSearchModel model); PurchaseBindingModel? Update(PurchaseBindingModel model); PurchaseBindingModel? Delete(PurchaseSearchModel model); } }