public async Task <IHttpActionResult> GetComposedByIdAsync([FromUri] int id) { var companyEntity = await Task.Run(() => _companyAppService.GetComposed(id)); if (companyEntity == null) { return(this.Ok()); } //var companyRead = new CompanyRead(companyEntity); return(this.Ok(companyEntity)); }