mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 17:22:15 +00:00
...really
This commit is contained in:
parent
6d3cbbc1cd
commit
3e9e9b5e9c
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public ActionResult AddUserToRole(AddUserToRoleViewModel model)
|
|||
{
|
||||
var usermanager = HttpContext.GetOwinContext().Get<ApplicationUserManager>();
|
||||
usermanager.AddToRole(model.Username, model.RoleId);
|
||||
return Index("roles");
|
||||
return RedirectToAction("Index", new { id = "roles" });
|
||||
}
|
||||
|
||||
public ActionResult RoleDetails(string id)
|
||||
|
|
Loading…
Reference in a new issue