Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="appSettings"></param>
 public LoginController(IOptions <AppAuthenticationSettings> appSettings, haikanHeQiaoContext dbContext, IOptions <MdDesEncrypt> mdDesEncrypt, ILogger <TestController> logger)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     MdDesEncrypt = mdDesEncrypt.Value;
     _logger      = logger;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public UserController(RefuseClassificationContext dbContext, IMapper mapper, IOptions <MdDesEncrypt> mdDesEncrypt, IOptions <AppAuthenticationSettings> appSettings)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     _mapper      = mapper;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
Ejemplo n.º 3
0
 public ShopController(RefuseClassificationContext dbContext, IMapper mapper, IOptions <MdDesEncrypt> mdDesEncrypt, IHostingEnvironment hostingEnvironment)
 {
     _dbContext          = dbContext;
     _mapper             = mapper;
     MdDesEncrypt        = mdDesEncrypt.Value;
     _hostingEnvironment = hostingEnvironment;
 }
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public UserController(haiKanChemistryContext dbContext, IMapper mapper, IOptions <MdDesEncrypt> mdDesEncrypt, IOptions <AppAuthenticationSettings> appSettings)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     _mapper      = mapper;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
Ejemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="appSettings"></param>
 public OauthController(IOptions <AppAuthenticationSettings> appSettings, haikanSDMSContext dbContext, IOptions <MdDesEncrypt> mdDesEncrypt)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
Ejemplo n.º 6
0
 public DingDingController(IOptions <AppAuthenticationSettings> appSettings, HaikanCRMContext dbContext, IOptions <MdDesEncrypt> mdDesEncrypt)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
Ejemplo n.º 7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="appSettings"></param>
 public OauthController(IOptions <AppAuthenticationSettings> appSettings, RefuseClassificationContext dbContext, IOptions <MdDesEncrypt> mdDesEncrypt)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
Ejemplo n.º 8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public UserController(haikanHeQiaoContext dbContext, IMapper mapper, IOptions <MdDesEncrypt> mdDesEncrypt)
 {
     _dbContext   = dbContext;
     _mapper      = mapper;
     MdDesEncrypt = mdDesEncrypt.Value;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="mapper"></param>
 public GrabageDisposalController(RefuseClassificationContext dbContext, IMapper mapper, IOptions <MdDesEncrypt> mdDesEncrypt)
 {
     _dbContext   = dbContext;
     _mapper      = mapper;
     MdDesEncrypt = mdDesEncrypt.Value;
 }