public ActionResult BookAppointment(BookAppointmentViewModel viewModel) { string loggedInUser = (string)Session["loggedInUser"]; var result = _appointmentManager.BookAppointment(viewModel, loggedInUser); return(Content(result)); }