public async Task <IViewComponentResult> InvokeAsync(string card_title) { ViewBag.CardTitle = card_title; var matches = await _matchService.BrowseAsync(); return(View("Default", matches)); }
public async Task <IActionResult> Get() { var articles = await _matchService.BrowseAsync(); return(Ok(articles)); }
public async Task <ActionResult> Index() { var matches = await _matchService.BrowseAsync(); return(View(matches)); }