using System.Collections.Generic; using CandyHouseBase.DataModels; namespace CandyHouseBase.Interfaces.StoragesContracts { public interface IProductStorageContact { List GetList(); ProductDataModel GetElementById(string id); ProductDataModel GetElementByName(string name); ProductDataModel GetElementByOldName(string name); void AddElement(ProductDataModel element); void UpdateElement(ProductDataModel element); void DeleteElement(string id); } }