public IActionResult Details(int?id) { if (id == null) { return(NotFound()); } var company = companyQueries.GetCompany(id.Value); if (company == null) { return(NotFound()); } return(View(mapper.Map <CompanyVM>(company))); }
public IActionResult Details(int?id) { if (id == null) { return(NotFound()); } var company = companyQueries.GetCompany(id.Value); if (company == null) { return(NotFound()); } return(View(mapper.Map <CompanyVM>(company))); }