// GET: ProductsController public async Task <ActionResult> Index() { var products = await shopDbService.GetAllAsync(); return(View(products)); }
// GET: CustomersController public async Task <ActionResult> Index() { var customer = await shopDbService.GetAllAsync(); return(View(customer)); }