15 lines
499 B
C#
15 lines
499 B
C#
|
using System.Collections.Generic;
|
||
|
using CandyHouseBase.DataModels;
|
||
|
|
||
|
namespace CandyHouseBase.Interfaces.StoragesContracts
|
||
|
{
|
||
|
public interface IIngredientStorageContact
|
||
|
{
|
||
|
List<IngredientDataModel> GetList();
|
||
|
IngredientDataModel GetElementById(string id);
|
||
|
IngredientDataModel GetElementByName(string name);
|
||
|
void AddElement(IngredientDataModel ingredient);
|
||
|
void UpdateElement(IngredientDataModel ingredient);
|
||
|
void DeleteElement(string id);
|
||
|
}
|
||
|
}
|