Example #1
0
 public async Task <IViewComponentResult> InvokeAsync(int howMany = 2)
 {
     return(View(await _repository.GetLatest(howMany)));
 }