public ActionResult MyAppointments() { Employee loggedInEmployee = Session["loggedInEmployee"] as Employee; //TODO: Redirect if loggedInEmployee is null return(View(_appointment.GetPlannedAppointmentsByEmployee(loggedInEmployee.Id))); }
public ActionResult MyAppointments() { Employee loggedInEmployee = Session["loggedInEmployee"] as Employee; //TODO: Redirect if loggedInEmployee is null return(View(_appointment.GetPlannedAppointmentsByEmployee(loggedInEmployee.Id))); }