mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-04-21 00:30:23 +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 @@ namespace Project_Unite.Controllers
|
|||
{
|
||||
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…
Add table
Reference in a new issue