public async Task <IActionResult> AddBuilding([FromBody] Building building) { try { await _buildingService.AddBuilding(building); } catch (ArgumentException e) { ModelState.AddModelError("Exception", e.Message); return(BadRequest(ModelState)); } return(Ok()); }