public ActionResult RolesList()
        {
            var roles = Roles.GetAllRoles().ToList();
            var model = new UsersViewModel { };
            model.Roles = roles.Select(
                r => new SelectListItem { Text = r }
                ).ToList();

            return View(model);
        }
        public ActionResult Users(string role = "All")
        {
            var roles = Roles.GetAllRoles().ToList();
            roles.Insert(0, "All");
            var model = new UsersViewModel { };
            model.Roles = roles.Select(
                r => new SelectListItem { Text = r, Selected = r == role }
                ).ToList();

            model.Users = Membership.GetAllUsers().OfType<MembershipUser>().Where(u => role == "All" || Roles.IsUserInRole(u.UserName, role)).ToList();

            return View(model);
        }
        public ActionResult AddRoles(UsersViewModel newRole)
        {
            var roles = Roles.GetAllRoles().ToList();
            var model = new UsersViewModel {};
            if (newRole != null)
            {
                var role = model.Roles;
                roles.Add(newRole.Roles.ToString());
            }

            //var roles = Roles.GetAllRoles().ToList();
            //var result = new UsersViewModel {};
            //result.Roles = 
            //model.AllRoles = Roles.GetAllRoles().ToList();
            return RedirectToAction("RolesList");
        }