예제 #1
0
        public ActionResult ViewAllBooking(string viewMessage = "", string filterDate = "")
        {
            var bookingDate = (filterDate.stringIsNotNull() ? filterDate.ToLmsSystemDate() : DateTime.Now).ToShortDateString();
            var getAll      = _objIPatient.GetAllPatientBooking(date: bookingDate);

            ViewBag.Message = getAll == null ? "No Records Found" : viewMessage;
            return(View(getAll));
        }