public NotificationService(INotificationRepository notificationRepository,
     INotificationDetailRepository notificationDetailRepository,
     IUnitOfWork unitOfWork)
 {
     this._NotificationRepository = notificationRepository;
     this._NotificationDetailRepository = notificationDetailRepository;
     this._UnitOfWork = unitOfWork;
 }
 public NotificationService(INotificationRepository notificationRepository,
                            IMapper mapper,
                            MapperConfiguration configMapper,
                            IUserRepository userRepository,
                            IUnitOfWork unitOfWork,
                            INotificationDetailRepository notificationDetailRepository,
                            ILineService lineService)
 {
     _notificationRepository = notificationRepository;
     _mapper         = mapper;
     _configMapper   = configMapper;
     _userRepository = userRepository;
     _unitOfWork     = unitOfWork;
     _notificationDetailRepository = notificationDetailRepository;
     _lineService = lineService;
 }
Example #3
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;
 }