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

            return(note);
        }
예제 #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);
        }
예제 #5
0
        public Patient PutPatientInfo(int id, [FromBody] Patient patient)
        {
            _context.Entry(patient).State = EntityState.Modified;
            _context.SaveChanges();

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

            return(employee);
        }