public void setPractice(string location) { if (DataSearching.practiceExists(location)) { practice = DataSearching.findPractice(location); } }
public TreatmentRoom(int roomNumber, DentalPractice practice, string dentist, string nurse) { this.roomNumber = roomNumber; this.practice = practice; dentistId = dentist; nurseId = nurse; }
public Patient(string patientId, string name, DentalPractice practice, int gender, string address, string contactNo) { this.patientId = patientId; this.name = name; this.practice = practice; this.gender = (Gender)gender; this.address = address; this.contactNo = contactNo; }
public void setPractice(DentalPractice practice) { this.practice = practice; }