16 lines
505 B
C#
16 lines
505 B
C#
using PolyclinicContracts.BindingModels;
|
|
using PolyclinicContracts.SearchModels;
|
|
using PolyclinicContracts.ViewModels;
|
|
|
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IRecipeLogic
|
|
{
|
|
List<RecipeViewModel>? ReadList(RecipeSearchModel? model = null);
|
|
RecipeViewModel? ReadElement(RecipeSearchModel model);
|
|
bool Create(RecipeBindingModel model);
|
|
bool Update(RecipeBindingModel model);
|
|
bool Delete(RecipeBindingModel model);
|
|
}
|
|
}
|