public List <Classes.Appointment> GetAppointments()
        {
            SqlClasses.Appointments    appHelper    = new SqlClasses.Appointments();
            List <Classes.Appointment> appointments = appHelper.GetAppointments();

            return(appointments);
        }
        public SqlCode DeleteAppointment(int AppointmentID)
        {
            SqlClasses.Appointments appHelper = new SqlClasses.Appointments();
            SqlCode code = appHelper.DeleteAppoinment(AppointmentID);

            return(code);
        }
        public SqlCode UpdateAppointment(Classes.Appointment Appointment)
        {
            SqlClasses.Appointments appHelper = new SqlClasses.Appointments();
            SqlCode code = appHelper.UpdateAppointment(Appointment);

            return(code);
        }
 public Classes.Appointment GetAppointment(int AppointmentID)
 {
     SqlClasses.Appointments appHelper   = new SqlClasses.Appointments();
     Classes.Appointment     appointment = appHelper.GetAppointment(AppointmentID);
     return(appointment);
 }