PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/BusinessLogicsContracts/IRoomLogic.cs

14 lines
427 B
C#
Raw Normal View History

2023-04-06 18:19:36 +04:00
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);
}