BusinessLogicsContract

This commit is contained in:
AnnZhimol 2023-04-01 19:33:12 +04:00
parent 99de2d096a
commit cbd71d3589
4 changed files with 55 additions and 1 deletions

View File

@ -1,6 +1,15 @@
namespace HotelContracts.BusinessLogicsContracts using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.BusinessLogicsContracts
{ {
public interface IConferenceLogic public interface IConferenceLogic
{ {
List<ConferenceViewModel>? ReadList(ConferenceSearchModel? model);
ConferenceViewModel? ReadElement(ConferenceSearchModel model);
bool Create(ConferenceBindingModel model);
bool Update(ConferenceBindingModel model);
bool Delete(ConferenceBindingModel model);
} }
} }

View File

@ -0,0 +1,15 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
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);
}
}

View File

@ -0,0 +1,15 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.BusinessLogicsContracts
{
public interface IMemberLogic
{
List<MemberViewModel>? ReadList(MemberSearchModel? model);
MemberViewModel? ReadElement(MemberSearchModel model);
bool Create(MemberBindingModel model);
bool Update(MemberBindingModel model);
bool Delete(MemberBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.BusinessLogicsContracts
{
public interface IOrganiserLogic
{
List<OrganiserViewModel>? ReadList(OrganiserSearchModel? model);
OrganiserViewModel? ReadElement(OrganiserSearchModel model);
bool Create(OrganiserBindingModel model);
bool Update(OrganiserBindingModel model);
bool Delete(OrganiserBindingModel model);
}
}