示例#1
0
 public AdmUsersController(DccyDbContext context, IEncryptionAndDecryption encryptionAndDecryption, IOptions <AppSetting> appSetting, IToolUnit toolUnit)
 {
     _context = context;
     _encryptionAndDecryption = encryptionAndDecryption;
     _appSetting = appSetting.Value;
     _toolUnit   = toolUnit;
 }
示例#2
0
 public LoginController(DccyDbContext dbContext, IToolUnit toolUnit, IEncryptionAndDecryption encryptionAndDecryption, IOptions <AppSetting> options)
 {
     _dbContext = dbContext;
     _toolUnit  = toolUnit;
     _encryptionAndDecryption = encryptionAndDecryption;
     _appSetting = options.Value;
 }