What I want is a list of all product categories in the base solution, I know its like 2 lines of code to get it running, but I am a newbie in developing apps.
how do I call the code to return the data Thanks in advance
OK let me ask this is there something inbuilt in the app where I can list all the catagories and products without coding or will I have to code something ?
using System.Collections; using System.Collections.Generic; using System.Web.Mvc; using Nop.Core; using Nop.Core.Domain.Catalog; using Nop.Services.Catalog; using Nop.Services.Customers; using Nop.Core.Plugins;
namespace Nop.Plugin.Other.ONWWW.Controllers { public class ONWWWController : Controller { public ICategoryService _categoryService;
public ONWWWController(ICategoryService categoryService) { this._categoryService = categoryService;