public async Task <IActionResult> EnableConfirmed(string id) { await applicationUserRepository.Enable(id); TempData["StatusMessage"] = "Account has been enabled successfully."; return(RedirectToAction(nameof(Index))); }
public async Task <IActionResult> EnableConfirmed(string id) { await applicationUserRepository.Enable(id); TempData["StatusMessage"] = "Account has been enabled successfully."; return(RedirectToAction(nameof(Index))); }