Esempio n. 1
0
        public ActionResult ListAppointments()
        {
            string loggedInUser = (string)Session["loggedInUser"];
            var    appointments = _appointmentManager.GetAppointments(loggedInUser);

            return(View(appointments));
        }
Esempio n. 2
0
        public ActionResult BookingReport(BookingReportViewModel viewModel)
        {
            var appointments = _appointmentManager.GetAppointments(viewModel.StartDate, viewModel.EndDate);

            return(GenerateReport(appointments));
        }