public ActionResult AssignRole(string UsersView, string RoleView) { MemberHelper.AddUserToRole(UsersView, RoleView); ViewBag.ResultMessage = "Username added to role successfully !"; ViewBag.UsersView = new SelectList(MemberHelper.GetAllUsers().ToList()); ViewBag.RoleView = new SelectList(MemberHelper.GetAllRoles().ToList()); return(View()); }