public ActionResult <List <Appointment> > GetAppointmentsByComplaint(int cid)
        {
            var dao = new AppointmentsDao();

            return(dao.GetAppointmentsByComplaint(cid));
        }
        public ActionResult <List <Appointment> > UpdateAppointment([FromBody] Appointment appointment)
        {
            var dao = new AppointmentsDao();

            return(dao.UpdateAppointment(appointment));
        }
        public ActionResult <List <Appointment> > GetCompletedAppointmentsByStudent(int sid)
        {
            var dao = new AppointmentsDao();

            return(dao.GetCompletedAppointmentsByStudent(sid));
        }