Example #1
0
        public IndexModel(ILogger <IndexModel> logger, Domain.IProductManager productManager)
        {
            _logger         = logger;
            _productManager = productManager;

            var categories = _productManager.GetCategories();

            logger.LogDebug(categories.Count().ToString());
        }
Example #2
0
 public CategoryModel(Domain.IProductManager productManager)
 {
     _productManager = productManager;
 }
Example #3
0
 public CategoryList(Domain.IProductManager productManager)
 {
     _productManager = productManager;
 }
Example #4
0
 public DetailsModel(Domain.IProductManager productManager)
 {
     _productManager = productManager;
 }
Example #5
0
 public IndexModel(Domain.IProductManager productManager)
 {
     _productManager = productManager;
 }