public PushNotificationController(
     IPushNotificationService pushNotificationService,
     IStoreService storeService,
     IRepository <PushNotification> pushNotificationRepository,
     IRepository <PushNotificationStore> pushNotificationStoreRepository,
     IRepository <Store> storeRepository,
     IRepository <Device> deviceRepository,
     IDeviceModelFactory deviceModelFactory,
     IPushNotificationModelFactory pushNotificationModelFactory,
     IPermissionService permissionService,
     INotificationService notificationService,
     IConfiguration iconfiguration,
     ILoggerFactory loggerFactory)
 {
     this._pushNotificationService         = pushNotificationService;
     this._storeService                    = storeService;
     this._pushNotificationRepository      = pushNotificationRepository;
     this._pushNotificationStoreRepository = pushNotificationStoreRepository;
     this._storeRepository                 = storeRepository;
     this._deviceModelFactory              = deviceModelFactory;
     this._pushNotificationModelFactory    = pushNotificationModelFactory;
     _permissionService                    = permissionService;
     _notificationService                  = notificationService;
     _iconfiguration = iconfiguration;
     _logger         = loggerFactory.CreateLogger <PushNotificationController>();
 }
Beispiel #2
0
 public DeviceController(
     IDeviceService deviceService,
     ITenantService tenantService,
     ITenantMappingService tenantMappingService,
     IDeviceModelFactory deviceModelFactory,
     IPermissionService permissionService,
     IUserActivityService userActivityService)
 {
     _deviceService        = deviceService;
     _tenantService        = tenantService;
     _tenantMappingService = tenantMappingService;
     _deviceModelFactory   = deviceModelFactory;
     _permissionService    = permissionService;
     _userActivityService  = userActivityService;
 }