public AppointmentSystem() { InitializeComponent(); hospitalManagement = new HospitalManagement(); hospitalDetailManagement = new HospitalDetailManagement(); polyclinicManagement = new PolyclinicManagement(); departmentManagement = new DepartmentManagement(); doctorManagement = new DoctorManagement(); patientManagement = new PatientManagement(); database = new DatabaseContext(); appointmentManagement = new AppointmentManagement(); hourManagement = new DoctorWorkingHourManagement(); }
public PolyclinicController() { polyclinicManagement = new PolyclinicManagement(); }