Ejemplo n.º 1
0
        public TurnsController(ITurnsService turnsService,
                               IDoctorServiceManager doctorServiceManager,
                               IAppointmentService appointmentService,
                               IServiceSupplyService serviceSupplyService,
                               IServicesService servicesService,
                               IBlockedMobileService blockedMobileService,
                               IIPAsManager iPAsManager,
                               IPersonService userService,
                               IAppointmentsManager appointmentsManager,
                               INotificationService notificationService,
                               IOfferRepository offerRepository)
        {
            _turnsService         = turnsService;
            _doctorServiceManager = doctorServiceManager;
            _userService          = userService;
            _appointmentsManager  = appointmentsManager;
            _notificationService  = notificationService;
            _servicesService      = servicesService;
            _blockedMobileService = blockedMobileService;
            _iPAsManager          = iPAsManager;
            _appointmentService   = appointmentService;
            _serviceSupplyService = serviceSupplyService;
            _offerRepository      = offerRepository;

            logger = LogManager.GetCurrentClassLogger();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Spectrum.Content.Appointments.Controllers.AppointmentsController" /> class.
 /// </summary>
 /// <param name="loggingService">The logging service.</param>
 /// <param name="appointmentsManager">The appointments manager.</param>
 /// <param name="rulesEngineService">The rules engine service.</param>
 /// <inheritdoc />
 public AppointmentsController(
     ILoggingService loggingService,
     IAppointmentsManager appointmentsManager,
     IRulesEngineService rulesEngineService)
     : base(loggingService)
 {
     this.appointmentsManager = appointmentsManager;
     this.rulesEngineService  = rulesEngineService;
 }
 public BookingController(IServiceSupplyService serviceSupplyService,
                          IWorkContext workContext,
                          IServicesService servicesService,
                          IPatientService patientService,
                          IAppointmentsManager appointmentsManager,
                          IIPAsManager iPAsManager,
                          IDoctorServiceManager doctorServiceManager) : base(workContext)
 {
     _serviceSupplyService = serviceSupplyService;
     _healthServiceService = servicesService;
     _patientService       = patientService;
     _doctorServiceManager = doctorServiceManager;
     _appointmentsManager  = appointmentsManager;
     _iPAsManager          = iPAsManager;
 }