2023-04-01 20:00:11 +04:00
|
|
|
|
using HotelContracts.BindingModels;
|
|
|
|
|
using HotelContracts.SearchModels;
|
|
|
|
|
using HotelContracts.ViewModels;
|
2023-05-17 02:08:51 +04:00
|
|
|
|
using HotelDataModels.Models;
|
2023-04-01 20:00:11 +04:00
|
|
|
|
|
|
|
|
|
namespace HotelContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IRoomLogic
|
|
|
|
|
{
|
|
|
|
|
List<RoomViewModel>? ReadList(RoomSearchModel? model);
|
|
|
|
|
RoomViewModel? ReadElement(RoomSearchModel model);
|
2023-05-17 02:08:51 +04:00
|
|
|
|
bool AddDinnerToRoom(RoomSearchModel model, IDinnerModel dinner);
|
2023-04-01 20:00:11 +04:00
|
|
|
|
bool Create(RoomBindingModel model);
|
|
|
|
|
bool Update(RoomBindingModel model);
|
|
|
|
|
bool Delete(RoomBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|