public async Task <ActionResult> Index(Cms.Pages.StandardPage currentPage) { await _trackingService.PageViewed(HttpContext, currentPage); var model = StandardPageViewModel.Create(currentPage, _categoryRepository); return(View(model)); }
//[PageViewTracking] public IActionResult Index(Models.StandardPage currentPage) { var model = StandardPageViewModel.Create(currentPage, _categoryRepository); return(View(model)); }
public ActionResult Index(StandardPage currentPage) { var model = StandardPageViewModel.Create(currentPage); return(View(model)); }