public async Task <IActionResult> AddDistrict([FromBody] Agency agency) { try { var results = await _adminManager.AddDistrict(agency); return(Ok(results)); } catch (Exception ex) { await new RaygunClient(_settings.ApiKey).SendInBackground(ex); return(BadRequest(new { error = ex.Message })); } }