Пример #1
0
 public ScheduleController(IRepository repository, ISageApiProxy sageApiProxy, IBloomServiceHub hub, INotificationService notification, IScheduleService scheduleService)
 {
     _repository      = repository;
     _sageApiProxy    = sageApiProxy;
     _hub             = hub;
     _notification    = notification;
     _scheduleService = scheduleService;
 }
Пример #2
0
 public ScheduleService(IRepository repository, ISageApiProxy sageApiProxy, IBloomServiceHub hub, INotificationService notification, ILocationService locationService)
 {
     _repository      = repository;
     _sageApiProxy    = sageApiProxy;
     _hub             = hub;
     _notification    = notification;
     _locationService = locationService;
 }
Пример #3
0
 public BloomJobRegistry()
 {
     _proxy               = ComponentContainer.Current.Get <ISageApiProxy>();
     _settings            = ComponentContainer.Current.Get <BloomServiceConfiguration>();
     _repository          = ComponentContainer.Current.Get <IRepository>();
     _httpContextProvider = ComponentContainer.Current.Get <IHttpContextProvider>();
     _locationService     = ComponentContainer.Current.Get <ILocationService>();
     _notification        = ComponentContainer.Current.Get <INotificationService>();
     _lateTechnicians     = new List <LateTechnician>();
     _hub = ComponentContainer.Current.Get <IBloomServiceHub>();
     SendNotifications();
     SendRequest();
     Synchronization();
     CheckTechnicians();
 }
Пример #4
0
 public ApiMobileController(
     ISageApiProxy sageApiProxy,
     IImageService imageService,
     IRepository repository,
     IAuthorizationService authorizationService,
     INotificationService notification,
     BloomServiceConfiguration settings,
     IBloomServiceHub hub)
 {
     this.sageApiProxy         = sageApiProxy;
     this._imageService        = imageService;
     this.repository           = repository;
     this.settings             = settings;
     this.authorizationService = authorizationService;
     this.notification         = notification;
     _hub = hub;
 }