예제 #1
0
 //private readonly string orgCode;
 public EncryptionController(IHttpContextAccessor contextAccessor, IEncryptionRepository encryptionRepository, IDistributedCache distributedCache)
 {
     //orgCode = contextAccessor.HttpContext.User.Claims.FirstOrDefault(x => x.Type == EncryptionConstant.OrgCode).Value;
     //encryptionRepository.LoadContext(orgCode, distributedCache);
     this.encryptionRepository = encryptionRepository;
 }
예제 #2
0
 public EncryptionJob(IEncryptionRepository encryptionRepository)
 {
     this.encryptionRepository = encryptionRepository;
 }