// GET: Super public ActionResult Index() { var db = new mbankEntities(); var list = db.AspNetUsers.ToList(); return(View(list)); }
public ActionResult DeleteUser(string id) { var db = new mbankEntities();; //find Users var findUser = db.AspNetUsers.Find(id); if (findUser != null) { //Delete User db.AspNetUsers.Remove(findUser); db.SaveChanges(); return(Json(new { value = 200, message = "User Deleted" }, JsonRequestBehavior.AllowGet)); } return(Json(new { value = 0, message = "Something Went wrong" }, JsonRequestBehavior.AllowGet)); }
public CryptoAccountType() { context = new mbankEntities(); }
public CryptoTransaction() { context = new mbankEntities(); }
public void inject() { userId = User.Identity.GetUserId(); accountNumber = new Services.Account().getAccountNumber(userId); _context = new mbankEntities(); }
public CryptoWithDrawRequest() { context = new mbankEntities(); }
public AccountVerifications() { context = new mbankEntities(); }
public Crpto_Currency() { context = new mbankEntities(); }
public CryptoActivities() { context = new mbankEntities(); }
public CrptoVerification() { context = new mbankEntities(); }