public ProductsController( IProductService productService, IFavouriteProductsService favouriteProductsService, IShoppingCartProductsService shoppingCartProductsService, IShoppingCartService shoppingCartService, UserManager <ApplicationUser> userManager ) { this.productService = productService; this.favouriteProductsService = favouriteProductsService; this.shoppingCartProductsService = shoppingCartProductsService; this.shoppingCartService = shoppingCartService; this.userManager = userManager; }
public ProductsFavouriteController(IFavouriteProductsService favouriteProductsService) { this.favouriteProductsService = favouriteProductsService; }