public ActionResult ListAppointments() { string loggedInUser = (string)Session["loggedInUser"]; var appointments = _appointmentManager.GetAppointments(loggedInUser); return(View(appointments)); }
public ActionResult BookingReport(BookingReportViewModel viewModel) { var appointments = _appointmentManager.GetAppointments(viewModel.StartDate, viewModel.EndDate); return(GenerateReport(appointments)); }