// GET: Admin public ActionResult List(string key = "") { /*if (MessageBox.Show("Are You Sure ?", "Confirmation", MessageBoxButtons.YesNo) == DialogResult.No) * return RedirectToAction("Index", "Admin");*/ var result = UserInfoRepo.PendingAgent(key); return(View(result)); }