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