public IViewComponentResult Invoke() { //Cannot be async method in ViewComponant return(View(_categoryApiService.GetAllWithBlogCountAsync().Result)); }