Beispiel #1
0
        // GET: PatientsBill
        public ActionResult Index()
        {
            var model        = new PatientBillDAL().GetAllRecords().ToList();
            var Appointments = new PatientBillDAL().ListOfRecords().ToList();

            ViewBag.appointment     = Appointments;
            ViewData["GetPatients"] = model;
            return(View());
        }
Beispiel #2
0
        public ActionResult BillListings()
        {
            var model        = new PatientBillDAL().GetPatientBills().ToList();
            var Appointments = new PatientBillDAL().ListOfRecords().ToList();
            var PatientsData = db.tblPatients.ToList();

            ViewBag.patient     = PatientsData;
            ViewBag.appointment = Appointments;
            return(View(model));
        }