Example #1
0
        public async Task <IActionResult> CreateSubBuilding(BuildingDto create)
        {
            return(Ok(await _buildingService.CreateSubBuilding(create)));

            throw new Exception("Creating the building failed on save");
        }