示例#1
0
        public void CreateRoom(Room room)
        {
            var roomRecord = _mapper.RoomToRoomRecord(room);

            _uow.Rooms.Add(roomRecord);
            _uow.SaveChanges();
        }