예제 #1
0
 public ShipmentBusinessLogic(MPDbContext dbContext,
                              IAuthenticationAgent authenticationAgent,
                              IConfigurationService configurationService,
                              IShipmentAgent shipmentAgent,
                              ILogger <ShipmentBusinessLogic> logger)
 {
     this.dbContext            = dbContext;
     this.authenticationAgent  = authenticationAgent;
     this.configurationService = configurationService;
     this.shipmentAgent        = shipmentAgent;
     this.aLCTConfiguration    = configurationService.GetALCTConfiguration();
     this.logger = logger;
 }
 public AuthenticationBusinessLogic(MPDbContext dbContext,
                                    IAuthenticationAgent authenticationAgent,
                                    IConfigurationService configurationService,
                                    IHostingEnvironment env,
                                    ILogger <AuthenticationBusinessLogic> logger)
 {
     this.dbContext            = dbContext;
     this.authenticationAgent  = authenticationAgent;
     this.configurationService = configurationService;
     this.wxConfiguration      = configurationService.GetWechatConfiguration();
     this.aLCTConfiguration    = configurationService.GetALCTConfiguration();
     this.environment          = env;
     this.logger = logger;
 }
예제 #3
0
 public ConfigurationService(MPDbContext dbContext,
                             ILogger <ConfigurationService> logger)
 {
     this.dbContext = dbContext;
     this.logger    = logger;
 }