public TechnicianController(IImageService imageService, IRepository repository, IBloomServiceHub hub, INotificationService notification) { this.imageService = imageService; this.repository = repository; this.hub = hub; this.notification = notification; }
public ScheduleController(IRepository repository, ISageApiProxy sageApiProxy, IBloomServiceHub hub, INotificationService notification, IScheduleService scheduleService) { _repository = repository; _sageApiProxy = sageApiProxy; _hub = hub; _notification = notification; _scheduleService = scheduleService; }
public ScheduleService(IRepository repository, ISageApiProxy sageApiProxy, IBloomServiceHub hub, INotificationService notification, ILocationService locationService) { _repository = repository; _sageApiProxy = sageApiProxy; _hub = hub; _notification = notification; _locationService = locationService; }
public ImageService(IHttpContextProvider httpContextProvider, IRepository repository, IBloomServiceHub hub, IStorageProvider storageProvider) { this.repository = repository; this.settings = BloomServiceConfiguration.FromWebConfig(ConfigurationManager.AppSettings); _hub = hub; _storageProvider = storageProvider; _urlToTechnicianIcon = Path.Combine(settings.BasePath, "images/technician.png"); _urlToWorkOrderIcon = Path.Combine(settings.BasePath, "images/workorder.png"); _urlToFolderTecnician = Path.Combine(settings.BasePath, "technician"); _urlToFolderWorkOrder = Path.Combine(settings.BasePath, "workorder"); _urlToFolderPhotoWorkOrders = Path.Combine(settings.BasePath, "images"); _urlToFolderFonts = Path.Combine(settings.BasePath.Replace("/userFiles", ""), "fonts");; }
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(); }
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; }
public NotificationService(IRepository repository, IBloomServiceHub hub) { _repository = repository; _hub = hub; }