コード例 #1
0
 public IViewComponentResult Invoke()
 {
     //Cannot be async method in ViewComponant
     return(View(_categoryApiService.GetAllWithBlogCountAsync().Result));
 }