15 lines
521 B
C#
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);
|
|
}
|
|
} |