public async Task <IEnumerable <RoomTypeResponseModel> > ListAllRoomTypesAsync() { var roomType = await _roomTypeRepository.ListAllRoomTypesAsync(); return(_mapper.Map <IEnumerable <RoomTypeResponseModel> >(roomType)); }
public async Task <IEnumerable <RoomTypeResponseModel> > ListAllRoomTypesAsync() { var roomType = await _roomTypeRepository.ListAllRoomTypesAsync(); return(_mapper.Map <IEnumerable <RoomTypeResponseModel> >(roomType)); }