17 lines
619 B
C#
17 lines
619 B
C#
|
using SushiBarContracts.BindingModels;
|
|||
|
using SushiBarContracts.SearchModels;
|
|||
|
using SushiBarContracts.ViewModels;
|
|||
|
|
|||
|
namespace SushiBarContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface IIngredientStorage
|
|||
|
{
|
|||
|
List<IngredientViewModel> GetFullList();
|
|||
|
List<IngredientViewModel> GetFilteredList(IngredientSearchModel model);
|
|||
|
IngredientViewModel? GetElement(IngredientSearchModel model);
|
|||
|
IngredientViewModel? Insert(IngredientBindingModel model);
|
|||
|
IngredientViewModel? Update(IngredientBindingModel model);
|
|||
|
IngredientViewModel? Delete(IngredientBindingModel model);
|
|||
|
}
|
|||
|
}
|