Exemplo n.º 1
0
        public async Task <IActionResult> Index()
        {
            var companies = await companyQueries.GetCompanies(null, null);

            return(View(mapper.Map <CompanyVM[]>(companies)));
        }