2024-04-28 18:11:56 +04:00

19 lines
578 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
using HotelDataModels.Models;
namespace HotelContracts.BusinessLogicsContracts
{
public interface IMealPlanLogic
{
List<MealPlanViewModel>? ReadList(MealPlanSearchModel? model);
MealPlanViewModel? ReadElement(MealPlanSearchModel? model);
bool Create(MealPlanBindingModel model);
bool Update(MealPlanBindingModel model);
bool Delete(MealPlanBindingModel model);
bool AddParticipantToMealPlan(MealPlanSearchModel model, IParticipantModel participant);
}
}