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);
    }
}