2023-04-01 19:33:12 +04:00
|
|
|
|
using HotelContracts.BindingModels;
|
|
|
|
|
using HotelContracts.SearchModels;
|
|
|
|
|
using HotelContracts.ViewModels;
|
2023-05-16 19:43:06 +04:00
|
|
|
|
using HotelDataModels.Models;
|
2023-04-01 19:33:12 +04:00
|
|
|
|
|
|
|
|
|
namespace HotelContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IMealPlanLogic
|
|
|
|
|
{
|
|
|
|
|
List<MealPlanViewModel>? ReadList(MealPlanSearchModel? model);
|
|
|
|
|
MealPlanViewModel? ReadElement(MealPlanSearchModel model);
|
2023-05-16 19:43:06 +04:00
|
|
|
|
bool AddMemberToMealPlan(MealPlanSearchModel model, IMemberModel member);
|
2023-04-01 19:33:12 +04:00
|
|
|
|
bool Create(MealPlanBindingModel model);
|
|
|
|
|
bool Update(MealPlanBindingModel model);
|
|
|
|
|
bool Delete(MealPlanBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|