public IViewComponentResult Invoke()
        {
            var result = new MenuModel
            {
                ArticleCategories = _articleCategoryQuery.GetArticleCategories(),
                ProductCategories = _productCategoryQuery.GetProductCategories()
            };

            return(View(result));
        }
        public IViewComponentResult Invoke()
        {
            var model = new MenueModel()
            {
                ProductCategories = _productCategoryQuery.GetProductCategories(),
                ArticleCategories = _articleCategoryQuery.GetArticleCategory()
            };

            return(View(model));
        }
Exemplo n.º 3
0
        public IViewComponentResult Invoke()
        {
            var productcategories = _productCategoryQuery.GetProductCategories();

            return(View(productcategories));
        }
Exemplo n.º 4
0
 public IViewComponentResult Invoke()
 {
     return(View(_productCategoryQuery.GetProductCategories()));
 }
        public IViewComponentResult Invoke()
        {
            var model = _productCategoryQuery.GetProductCategories();

            return(View(model));
        }