예제 #1
0
 public async Task UpdateRoom([FromBody] RoomDTO dto)
 {
     var room = _mapper.Map <Room>(dto);
     await _repo.UpdateRoom(room);
 }