示例#1
0
 public OriginsController(
     ILogger <OriginsController> logger,
     IOriginService origin,
     IMailAccountService mailAccount)
 {
     _logger      = logger;
     _origin      = origin;
     _mailAccount = mailAccount;
 }
示例#2
0
 public SendMailController(
     ILogger <SendMailController> logger
     , IMailAccountService mailAccount
     , IAllowedSiteService allowedSite
     , IOriginService origin)
 {
     _logger      = logger;
     _mailAccount = mailAccount;
     _allowedSite = allowedSite;
     _origin      = origin;
 }
示例#3
0
 private Facade()
 {
     this.iAuthenticationService = ContainerBuilder.Resolve <IAuthenticationService>();
     this.iMailAccountService    = ContainerBuilder.Resolve <IMailAccountService>();
     this.iMailMessageService    = ContainerBuilder.Resolve <IMailMessageService>();
 }
 public MailAccountsController(ILogger <MailAccountsController> logger, IMailAccountService mailAccount)
 {
     _logger      = logger;
     _mailAccount = mailAccount;
 }
示例#5
0
 public MailAccountController(IMailAccountService mailService)
 {
     _mailService = mailService;
 }
示例#6
0
 public ReportController(IReportService reportService, IMailAccountService mailAccountService)
 {
     _reportService      = reportService;
     _mailAccountService = mailAccountService;
 }