public DoctorNotes PutNoteInfo(int id, [FromBody] DoctorNotes note)
        {
            _context.Entry(note).State = EntityState.Modified;
            _context.SaveChanges();

            return(note);
        }
Example #2
0
        public Location PutLocationInfo(int id, [FromBody] Location location)
        {
            _context.Entry(location).State = EntityState.Modified;
            _context.SaveChanges();

            return(location);
        }
        public Doctor PutDoctorInfo(int id, [FromBody] Doctor doctor)
        {
            _context.Entry(doctor).State = EntityState.Modified;
            _context.SaveChanges();

            return(doctor);
        }
        public Appointment PutAppointmentInfo(int id, [FromBody] Appointment appointment)
        {
            _context.Entry(appointment).State = EntityState.Modified;
            _context.SaveChanges();

            return(appointment);
        }
Example #5
0
        public Patient PutPatientInfo(int id, [FromBody] Patient patient)
        {
            _context.Entry(patient).State = EntityState.Modified;
            _context.SaveChanges();

            return(patient);
        }
Example #6
0
        public Employee PutEmployeeInfo(int id, [FromBody] Employee employee)
        {
            _context.Entry(employee).State = EntityState.Modified;
            _context.SaveChanges();

            return(employee);
        }