Example #1
0
        public void UpdateFloor(FloorDto floorDto, long adminId)
        {
            ValidateFloor(floorDto, adminId);
            var floor = _floorService.Find(floorDto.FloorId);

            floor.FloorName = floorDto.FloorName;
            _floorService.Update(floor);
            SaveChanges();
        }