예제 #1
0
 public AuthController(IDataProtectionProvider dataProtectionProvider, IJwtFactory jwtFactory, ICustomersBL customersBl, IOptions <JwtIssuerOptions> jwtOptions)
 {
     _dataProtector = dataProtectionProvider.CreateProtector(Constants.DataProtectorPurpose);
     _jwtFactory    = jwtFactory;
     _customersBL   = customersBl;
     _jwtOptions    = jwtOptions.Value;
 }
예제 #2
0
 public CustomerController(ICustomersBL _repo)
 {
     this.repo = _repo;
 }
예제 #3
0
 public CustomersController(ICustomersBL customerBL)
 {
     _customerBL = customerBL;
 }