21 lines
594 B
C#
21 lines
594 B
C#
using CanteenContracts.BindingModels;
|
|
using CanteenContracts.SearchModel;
|
|
using CanteenContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CanteenContracts.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);
|
|
}
|
|
}
|