public virtual /*Task<*/ IViewComponentResult PopularProductTags() { var model = _catalogWebService.PreparePopularProductTags(); if (!model.Tags.Any()) { return(Content("")); } throw new NotImplementedException("add correct view"); }
public IViewComponentResult Invoke(string currentCategoryId, string currentProductId) { var model = _catalogWebService.PreparePopularProductTags(); if (!model.Tags.Any()) { return(Content("")); } return(View(model)); }