public HomeController(ISmtpRepository SmtpRepository) { if (SmtpRepository == null) { throw new ArgumentNullException("SmtpRepository"); } smtpRepository = SmtpRepository; }
public PdfController(IPdfService pdfService, INotificationService notificationService, ISmtpRepository smtpConfigsRepository) { this.pdfService = pdfService; this.notificationService = notificationService; this.smtpConfigsRepository = smtpConfigsRepository; }
public SmtpController(ISmtpRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.SmtpRepository = repository; }
public EmailUnitOfWork(FrameworkContext context, IGroupRepository groupRepository, ICampaignRepository campaignRepository, ISmtpRepository smtpRepository) : base(context) { GroupRepository = groupRepository; CampaignRepository = campaignRepository; SmtpRepository = smtpRepository; }
public EmailAccountService(IEmailAccountRepository emailAccountRepository, IUserRepository userRepository, IEmailClientAggregate emailClientAggregate, IImapRepository imapRepository, ISmtpRepository smtpRepository, IMapper mapper) { _emailAccountRepository = emailAccountRepository; _userRepository = userRepository; _imapRepository = imapRepository; _smtpRepository = smtpRepository; _mapper = mapper; _emailClientAggregate = emailClientAggregate; }
public SmtpController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.SmtpRepository = new MixERP.Net.Schemas.Config.Data.Smtp { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public SmtpService(ISmtpRepository smtpRepository) { _smtpRepository = smtpRepository; }