예제 #1
0
        public ActionResult MyAppointments()
        {
            Employee loggedInEmployee = Session["loggedInEmployee"] as Employee;

            //TODO: Redirect if loggedInEmployee is null
            return(View(_appointment.GetPlannedAppointmentsByEmployee(loggedInEmployee.Id)));
        }