示例#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;
 }