Example #1
0
 public PayoutService(IPayoutRepository payoutRepository,
                      ITicketRepository ticketRepository,
                      IMapper mapper,
                      IUnitOfWork unitOfWork,
                      ICustomerRepository customerRepository,
                      ICreditCardRepository creditCardRepository,
                      IRouteTicketRepository routeTicketRepository,
                      IPaymentRepository paymentRepository,
                      IRouteRepository routeRepository,
                      IOptions <CrediCardSetting> options,
                      IUserRepository userRepository,
                      IResolveOptionLogRepository resolveOptionLogRepository,
                      ISendGridService sendGridService,
                      IOneSignalService oneSignalService,
                      INotificationService notificationService)
 {
     _payoutRepository      = payoutRepository;
     _ticketRepository      = ticketRepository;
     _customerRepository    = customerRepository;
     _creditCardRepository  = creditCardRepository;
     _routeRepository       = routeRepository;
     _routeTicketRepository = routeTicketRepository;
     _paymentRepository     = paymentRepository;
     _mapper                     = mapper;
     _unitOfWork                 = unitOfWork;
     SETTING                     = options;
     _userRepository             = userRepository;
     _resolveOptionLogRepository = resolveOptionLogRepository;
     _sendGridService            = sendGridService;
     _oneSignalService           = oneSignalService;
     _notificationService        = notificationService;
 }
Example #2
0
 public KnowledgeBasesController(ApplicationDbContext context,
                                 ISequenceService sequenceService,
                                 IStorageService storageService,
                                 ILogger <KnowledgeBasesController> logger,
                                 IEmailSender emailSender,
                                 IViewRenderService viewRenderService,
                                 ICacheService cacheService,
                                 IOneSignalService oneSignalService)
 {
     _context           = context;
     _sequenceService   = sequenceService;
     _storageService    = storageService;
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     _emailSender       = emailSender;
     _viewRenderService = viewRenderService;
     _cacheService      = cacheService;
     _oneSignalService  = oneSignalService;
 }
Example #3
0
 public TicketService(IMapper mapper,
                      IUnitOfWork unitOfWork,
                      ITicketRepository ticketRepository,
                      ICustomerRepository customerRepository,
                      IStationRepository stationRepository,
                      IRouteTicketRepository routeTicketRepository,
                      ICustomerDeviceRepository customerDeviceRepository,
                      IOneSignalService oneSignalService,
                      UserManager <User> userManager,
                      IAdminDeviceRepository adminDeviceRepository,
                      INotificationService notificationService
                      )
 {
     _mapper                = mapper;
     _unitOfWork            = unitOfWork;
     _ticketRepository      = ticketRepository;
     _customerRepository    = customerRepository;
     _stationRepository     = stationRepository;
     _routeTicketRepository = routeTicketRepository;
     _oneSignalService      = oneSignalService;
     _userManager           = userManager;
     _adminDeviceRepository = adminDeviceRepository;
     _notificationService   = notificationService;
 }
 public OneSignalController(IOneSignalService oneSignalService)
 {
     _oneSignalService = oneSignalService;
 }