PIbd-21_Balberova_D.N._Sush.../SushiBar/SushiBarContracts/BusinessLogicsContracts/IIngredientLogic.cs
2023-01-31 15:23:18 +04:00

15 lines
521 B
C#

using SushiBarContracts.ViewModels;
using SushiBarContracts.BindingModels;
using SushiBarContracts.SearchModels;
namespace SushiBarContracts.BusinessLogicsContracts
{
public interface IIngredientLogic
{
List<IngredientViewModel>? ReadList(IngredientSearchModel? model);
IngredientViewModel? ReadElement(IngredientSearchModel model);
bool Create(IngredientBindingModel model);
bool Update(IngredientBindingModel model);
bool Delete(IngredientBindingModel model);
}
}