public virtual async Task <IViewComponentResult> CategoryNavigation(string currentCategoryId, string currentProductId) { var model = _catalogWebService.PrepareCategoryNavigation(currentCategoryId, currentProductId); throw new NotImplementedException("add correct view"); }
public IViewComponentResult Invoke(string currentCategoryId, string currentProductId) { var model = _catalogWebService.PrepareCategoryNavigation(currentCategoryId, currentProductId); return(View(model)); }