Example #1
0
        public ActionResult PaymentReport(string Str)
        {
            string UsertypeId = Session["UserTypeId"].ToString();

            DataTable dtStudentList = new DataTable();

            dtStudentList       = StudentCon.StudentList(UsertypeId);
            ViewBag.StudentList = ToSelectList(dtStudentList, "Name");
            if (Str == null)
            {
                Str = "And 1=1";
            }

            DataTable dt = new DataTable();

            dt = PaymentReportCon.GetPaymentPendingReport(Str);
            return(View(dt));
        }
Example #2
0
 public void ApprovedPayment(string Id)
 {
     PaymentReportCon.ApprovedPaymentStatus(Id);
     TempData["Message"] = "Record has been delete successfully";
     //return RedirectToAction("PaymentReport", "PaymentReport");
 }