示例#1
0
 public OperationController()
 {
     operationService          = new OperationService(new OperationRepository());
     contextAppointmentService = new ContextAppointmentService(operationService);
 }
 public AppointmentController()
 {
     regularAppointmentService = new RegularAppointmentService(new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorService(new OperationRepository(), new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorRepository()), new PatientsRepository(), new OperationService(new OperationRepository()));
     contextAppointmentService = new ContextAppointmentService(regularAppointmentService);
 }