// GET: /<controller>/ public async Task <IActionResult> Index() { StoreIndexViewModel stores = new StoreIndexViewModel(); stores.StoreList = await _storesService.All(); return(View(stores)); }
// GET: /<controller>/ public async Task <IActionResult> Index() { StoreIndexViewModel stores = new StoreIndexViewModel(); stores.StoreList = await _storesService.All(); return(View(stores)); }