Exemplo n.º 1
0
 public NofticationService(INofticationRepository nofticationRepository,
                           IUserRepository userRepository,
                           IHttpContextAccessor contextAccessor,
                           IMapper mapper,
                           INotificationTypeRepository notificationTypeRepository)
 {
     this.nofticationRepository = nofticationRepository;
     this.userRepository        = userRepository;
     this.contextAccessor       = contextAccessor;
     this.mapper = mapper;
     this.notificationTypeRepository = notificationTypeRepository;
 }
Exemplo n.º 2
0
 public FcmRepository(IFcmInfoRepository fcmInfoRepository,
                      IClientGroupRepository clientGroupRepository,
                      IUserRepository userRepository,
                      IHttpContextAccessor httpContextAccessor,
                      INofticationRepository nofticationRepository,
                      IMapper mapper,
                      INotificationDetailRepository notificationDetailRepository,
                      INotificationObjectRepository notificationObjectRepository,
                      INotificationTypeRepository notificationTypeRepository, IConfiguration configuration)
 {
     this.fcmInfoRepository     = fcmInfoRepository;
     this.clientGroupRepository = clientGroupRepository;
     this.userRepository        = userRepository;
     this.httpContextAccessor   = httpContextAccessor;
     this.nofticationRepository = nofticationRepository;
     this.mapper = mapper;
     this.notificationDetailRepository = notificationDetailRepository;
     this.notificationObjectRepository = notificationObjectRepository;
     this.notificationTypeRepository   = notificationTypeRepository;
     this.configuration = configuration;
 }