public IActionResult Login(StoreViewModel store) { // super bodge job to verify login if (storeViewModel.Login(store.Name) is null) { store.Name = null; } ModelState.Remove("StoreSelected"); if (ModelState.IsValid) { TempData["StoreLoggedIn"] = store.Name; TempData.Keep("StoreLoggedIn"); return(Redirect("/Store")); } return(View()); }