public UsersController(AspNetShopContext context) { _context = context; }
public CategoriesController(AspNetShopContext context) { _context = context; }
public UserService(AspNetShopContext context, IOptions <SecretOptions> secretOptions) { this.context = context; this.jwtSecret = secretOptions.Value.JWTSecret; }
public ProductsController(AspNetShopContext context) { _context = context; }
public CartsController(AspNetShopContext context) { _context = context; }