2024-04-24 18:33:11 +04:00
|
|
|
|
using PolyclinicContracts.BindingModels;
|
|
|
|
|
using PolyclinicContracts.SearchModels;
|
|
|
|
|
using PolyclinicContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IRecipeLogic
|
|
|
|
|
{
|
2024-04-28 11:31:34 +04:00
|
|
|
|
List<RecipeViewModel>? ReadList(RecipeSearchModel? model);
|
|
|
|
|
RecipeViewModel? ReadElement(RecipeSearchModel model);
|
2024-04-24 18:33:11 +04:00
|
|
|
|
bool Create(RecipeBindingModel model);
|
|
|
|
|
bool Update(RecipeBindingModel model);
|
|
|
|
|
bool Delete(RecipeBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|