public DoctorNotes PutNoteInfo(int id, [FromBody] DoctorNotes note) { _context.Entry(note).State = EntityState.Modified; _context.SaveChanges(); return(note); }
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); }
public Patient PutPatientInfo(int id, [FromBody] Patient patient) { _context.Entry(patient).State = EntityState.Modified; _context.SaveChanges(); return(patient); }
public Employee PutEmployeeInfo(int id, [FromBody] Employee employee) { _context.Entry(employee).State = EntityState.Modified; _context.SaveChanges(); return(employee); }