예제 #1
0
        public IEnumerable <Room> AddRoom(IEnumerable <Room> data, StringBuilder TempRoomId)
        {
            var result = _repo.AddRoom(data);

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