public async Task <RoomReservation> Create(CreateRoomReservationDto obj)
        {
            RoomReservation roomReservation = _mapper.Map <RoomReservation>(obj);
            await _reservationRepository.Create(roomReservation);

            return(roomReservation);
        }
Esempio n. 2
0
 public void Create(RoomReservation reservation)
 {
     _repository.Create(reservation);
 }