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