public async Task <IActionResult> Create([FromBody] CreateOrganizationRequest createReq) { using (_logger.BeginScope("----- Create -----")) { try { return(Ok(await _service.AddNewOrganization(new Organization(createReq.Name, createReq.OwnerSub, createReq.Address1, createReq.Address2, createReq.Phone)))); } catch (Exception ex) { _logger.LogError(ex.Message); return(BadRequest(ex.Message)); } } }