public AuthenticationService(TuringBackendContext dbContext, IPasswordHasher passwordHasher,
                              ITokenHandler tokenHandler)
 {
     _tokenHandler   = tokenHandler;
     _passwordHasher = passwordHasher;
     _dbContext      = dbContext;
 }
Exemple #2
0
 public ShoppingCartService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }
 public CategoryService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }
 public DepartmentService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }
 public ShippingService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #6
0
 public CustomerService(TuringBackendContext dbContext,
                        IPasswordHasher passwordHasher)
 {
     _dbContext      = dbContext;
     _passwordHasher = passwordHasher;
 }
Exemple #7
0
 public OrderService(TuringBackendContext dbContext, IShoppingCartService shoppingCartService)
 {
     _dbContext           = dbContext;
     _shoppingCartService = shoppingCartService;
 }
Exemple #8
0
 public ProductService(TuringBackendContext dbContext, ICustomerService customerService)
 {
     _dbContext       = dbContext;
     _customerService = customerService;
 }
Exemple #9
0
 public TaxService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemple #10
0
 public AttributeService(TuringBackendContext dbContext)
 {
     _dbContext = dbContext;
 }