From 3e9e9b5e9c1ded79f056c38a17d5615429059915 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 22 May 2017 21:28:51 -0400 Subject: [PATCH] ...really --- Project-Unite/Controllers/AdminController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Unite/Controllers/AdminController.cs b/Project-Unite/Controllers/AdminController.cs index c5d54a7..57bd245 100644 --- a/Project-Unite/Controllers/AdminController.cs +++ b/Project-Unite/Controllers/AdminController.cs @@ -62,7 +62,7 @@ public ActionResult AddUserToRole(AddUserToRoleViewModel model) { var usermanager = HttpContext.GetOwinContext().Get(); usermanager.AddToRole(model.Username, model.RoleId); - return Index("roles"); + return RedirectToAction("Index", new { id = "roles" }); } public ActionResult RoleDetails(string id)