public async Task <IActionResult> Get([FromRoute] Guid id) { var result = await appService.Get(id); if (result == null) { return(NotFound()); } return(Ok(result)); }
public async Task <CompanyViewModel> Get(Guid id) { return(await appService.Get(id)); }
public async Task <IActionResult> Get([FromRoute] Guid id) { return(Ok(await appService.Get(id))); }