Ejemplo n.º 1
0
        public async Task <ActionResult> DeleteTournamentDrawGraph([FromQuery] MatchesArgs args)
        {
            await MatchService.DeleteMatchesGraph(args.TournamentId);

            return(Ok());
        }
Ejemplo n.º 2
0
        public async Task <ActionResult <List <MatchDTO> > > GetMatches([FromQuery] MatchesArgs args)
        {
            var matches = await MatchService.GetMatchesByTournament(args.TournamentId);

            return(matches);
        }