Beispiel #1
0
 public EmailMagentoProcessor(IMapper mapper,
                              IGmailService emailService,
                              IMagentoService magentoService,
                              IConnectionService connectionService,
                              IUserChannelService userChannelService,
                              IChannelEmailService channelEmailService,
                              IChannelMagentoService channelMagentoService,
                              ITicketEmailService ticketEmailService,
                              IMessageEmailService messageEmailService,
                              ITicketMagentoService ticketMagentoService,
                              IMessageMagentoService messageMagentoService,
                              ITicketEmailMagentoService ticketEmailMagentoService,
                              IMessageEmailMagentoService messageEmailMagentoService)
 {
     this.mapper                     = mapper;
     this.emailService               = emailService;
     this.magentoService             = magentoService;
     this.connectionService          = connectionService;
     this.userChannelService         = userChannelService;
     this.channelEmailService        = channelEmailService;
     this.channelMagentoService      = channelMagentoService;
     this.ticketEmailService         = ticketEmailService;
     this.messageEmailService        = messageEmailService;
     this.ticketMagentoService       = ticketMagentoService;
     this.messageMagentoService      = messageMagentoService;
     this.ticketEmailMagentoService  = ticketEmailMagentoService;
     this.messageEmailMagentoService = messageEmailMagentoService;
 }
Beispiel #2
0
 public ImportTransactionsEmailService(IGmailService gmailService,
                                       ITransactionService transactionService,
                                       ITransactionThroughEmailInfoRepository importInfoRepository)
 {
     GmailService         = gmailService;
     TransactionService   = transactionService;
     ImportInfoRepository = importInfoRepository;
 }
Beispiel #3
0
        public void Init()
        {
            var fixture = new TestFixture();

            fixture.Initialize();

            Client = fixture.GetService <IGmailService>();
        }
 //////////////////////////////////
 public UserBaseController(IUserBaseService userBaseService, IUserService userService, ISendgridService sendgridService, IErrorLogService errorLogService, IGmailService gmailService, IEmailTemplate emailTemplate)
 {
     _userBaseService = userBaseService;
     _userService     = userService;
     _sendgridService = sendgridService;
     _gmailService    = gmailService;
     _errorLogService = errorLogService;
     _emailTemplate   = emailTemplate;
 }
Beispiel #5
0
 public TicketService
 (
     IGrpcServiceFactory grpcServiceFactory,
     IGmailService gmailService,
     IDiscordService discordService,
     ITicketHubConnections ticketHubConnections,
     IHostingEnvironment env
 )
 {
     _isDev                = env.EnvironmentName.Contains("Dev");
     _gmailService         = gmailService;
     _ticketServiceClient  = grpcServiceFactory.GetTicketSercviceClient();
     _discordService       = discordService;
     _ticketHubConnections = ticketHubConnections;
 }
Beispiel #6
0
 public HomeController(
     ILogger <HomeController> logger,
     RoleManager <IdentityRole> roleManager,
     ISendGridEmailSender emailSender,
     IGmailService gmailService,
     IUserService userService,
     UserManager <IdentityUser> userManager)
 {
     _logger           = logger;
     this.roleManager  = roleManager;
     this.emailSender  = emailSender;
     this.gmailService = gmailService;
     this.userService  = userService;
     this.userManager  = userManager;
     ;
 }
 public ServiceConnectionController(IEbayService ebayService,
                                    IMagentoService magentoService,
                                    IGmailService gmailService,
                                    IChannelEbayService channelEbayService,
                                    IChannelMagentoService channelMagentoService,
                                    IChannelEmailService channelEmailService,
                                    IUserService userService,
                                    IUserChannelService userChannelSerivce,
                                    IConnectionService connectionService,
                                    IMapper mapper)
 {
     this.ebayService           = ebayService;
     this.magentoService        = magentoService;
     this.gmailService          = gmailService;
     this.channelEbayService    = channelEbayService;
     this.channelMagentoService = channelMagentoService;
     this.channelEmailService   = channelEmailService;
     this.userService           = userService;
     this.userChannelSerivce    = userChannelSerivce;
     this.connectionService     = connectionService;
     this.mapper = mapper;
 }
Beispiel #8
0
 protected LogServiceBase(IGmailService gmailService)
 {
     _gmailService = gmailService;
 }
Beispiel #9
0
 public LogService(IGmailService gmailService) : base(gmailService)
 {
 }
Beispiel #10
0
 public DebugLogService(IGmailService gmailService) : base(gmailService)
 {
 }
 public LogServiceFactory(IHostingEnvironment env, IGmailService gmailService)
 {
     _gmailService = gmailService;
     _isDebug      = env.EnvironmentName.Contains("Dev");
 }