コード例 #1
0
        public ActionResult ListAppointments()
        {
            string loggedInUser = (string)Session["loggedInUser"];
            var    appointments = _appointmentManager.GetAppointments(loggedInUser);

            return(View(appointments));
        }
コード例 #2
0
        public ActionResult BookingReport(BookingReportViewModel viewModel)
        {
            var appointments = _appointmentManager.GetAppointments(viewModel.StartDate, viewModel.EndDate);

            return(GenerateReport(appointments));
        }