public async Task <IEnumerable <Rooms> > GetRooms(string roomTypeName) { var roomType = await _roomTypeRepository.GetRoomType(roomTypeName); return(await _roomRepository.GetRooms(roomType.ID)); }
public async Task <RoomTypes> GetRoomType(short id) { return(await _roomTypeRepository.GetRoomType(id)); }