// GET: /<controller>/ public async Task <IActionResult> Index() { TempData["modalTitle"] = "Confirmation"; TempData["modalText"] = "Are you sure you want to remove the Supermarket?"; return(View(await supermarketRepository.GetSupermarkets())); }
// GET: /<controller>/ public async Task <IActionResult> Index() { TempData["modalTitle"] = "Confirmation"; TempData["modalText"] = "Are you sure you want to remove the Supermarket?"; return(View(await supermarketRepository.GetSupermarkets())); }