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