public async Task<ActionResult> Edit(string name)
      {
         if (name == null)
         {
            return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
         }

         var retrievedRole = await RoleManager.FindByNameAsync(name);

         if (retrievedRole == null)
         {
            return HttpNotFound();
         }

         var roleViewModel = new ApplicationRoleViewModel{Id = retrievedRole.Id, Name = retrievedRole.Name};

         return View(roleViewModel);
      }
 public ActionResult Create()
 {
    var roleViewModel = new ApplicationRoleViewModel();
    return View(roleViewModel);
 }