// GET: AUserRoles/Edit/5
        public ActionResult Edit(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            AspNetUserRole aspNetUserRole = userAppManager.FindUserRole(id);

            aspNetUserRole.RoleId = role.Get(aspNetUserRole.RoleId, null);
            if (aspNetUserRole == null)
            {
                return(HttpNotFound());
            }
            ViewBag.RoleId = new SelectList(role.List());
            return(View(aspNetUserRole));
        }
 // GET: AUsers/Create
 public ActionResult Create()
 {
     //ViewBag.Id = new SelectList(userAppManager.FindAllUserRole(), "UserId", "RoleId");
     ViewBag.RoleId = new SelectList(role.List());
     return(View());
 }