Exemplo n.º 1
0
        public async Task <IViewComponentResult> InvokeAsync(string card_title)
        {
            ViewBag.CardTitle = card_title;

            var matches = await _matchService.BrowseAsync();

            return(View("Default", matches));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> Get()
        {
            var articles = await _matchService.BrowseAsync();

            return(Ok(articles));
        }
Exemplo n.º 3
0
        public async Task <ActionResult> Index()
        {
            var matches = await _matchService.BrowseAsync();

            return(View(matches));
        }