public IViewComponentResult Invoke()
        {
            var model = _commonModelFactory.PrepareAdminHeaderLinksModel();

            return(View(model));
        }
        public virtual ActionResult AdminHeaderLinks()
        {
            var model = _commonModelFactory.PrepareAdminHeaderLinksModel();

            return(PartialView(model));
        }
Example #3
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            var model = await _commonModelFactory.PrepareAdminHeaderLinksModel();

            return(View(model));
        }