public ActionResult DeleteConfirmed(C_vGetUsers user)
 {
     ApplicationUser appuser = new ApplicationUser();
     appuser = UserManager.FindByEmail(user.username);
     db.DeleteUser(user.username);
     UserManager.Delete(appuser);
     return RedirectToAction("Index");
 }
 public ActionResult Delete(string id, string username, string userfirstname, string userlastname)
 {
     if (id == null)
     {
         return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
     }
     C_vGetUsers user = new C_vGetUsers();
     user.id = id;
     user.username = username;
     user.UserFirstName = userfirstname;
     user.UserLastName = userlastname;
     if (user == null)
     {
         return HttpNotFound();
     }
     return View(user);
 }