public IViewComponentResult Invoke() { var model = _commonModelFactory.PrepareAdminHeaderLinksModel(); return(View(model)); }
public virtual ActionResult AdminHeaderLinks() { var model = _commonModelFactory.PrepareAdminHeaderLinksModel(); return(PartialView(model)); }
public async Task <IViewComponentResult> InvokeAsync() { var model = await _commonModelFactory.PrepareAdminHeaderLinksModel(); return(View(model)); }