Создание и заполнение BusinessLogicsContracts
This commit is contained in:
parent
a0b135e995
commit
06d4ab7272
@ -0,0 +1,15 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IConferenceBookingLogic
|
||||
{
|
||||
List<ConferenceBookingViewModel>? ReadList(ConferenceBookingSearchModel? model);
|
||||
MealPlanViewModel? ReadElement(MealPlanSearchModel model);
|
||||
bool Create(ConferenceBookingBindingModel model);
|
||||
bool Update(ConferenceBookingBindingModel model);
|
||||
bool Delete(ConferenceBookingBindingModel model);
|
||||
}
|
||||
}
|
16
Hotel/HotelContracts/BusinessLogicsContracts/IDinnerLogic.cs
Normal file
16
Hotel/HotelContracts/BusinessLogicsContracts/IDinnerLogic.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IDinnerLogic
|
||||
{
|
||||
List<DinnerViewModel>? ReadList(DinnerSearchModel? model);
|
||||
DinnerViewModel? ReadElement(DinnerSearchModel model);
|
||||
bool Create(DinnerBindingModel model);
|
||||
bool Update(DinnerBindingModel model);
|
||||
bool Delete(DinnerBindingModel model);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IHeadwaiterLogic
|
||||
{
|
||||
List<HeadwaiterViewModel>? ReadList(HeadwaiterSearchModel? model);
|
||||
HeadwaiterViewModel? ReadElement(HeadwaiterSearchModel model);
|
||||
bool Create(HeadwaiterBindingModel model);
|
||||
bool Update(HeadwaiterBindingModel model);
|
||||
bool Delete(HeadwaiterBindingModel model);
|
||||
}
|
||||
}
|
15
Hotel/HotelContracts/BusinessLogicsContracts/IRoomLogic.cs
Normal file
15
Hotel/HotelContracts/BusinessLogicsContracts/IRoomLogic.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IRoomLogic
|
||||
{
|
||||
List<RoomViewModel>? ReadList(RoomSearchModel? model);
|
||||
RoomViewModel? ReadElement(RoomSearchModel model);
|
||||
bool Create(RoomBindingModel model);
|
||||
bool Update(RoomBindingModel model);
|
||||
bool Delete(RoomBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user