Exemplo n.º 1
0
        public ActionResult AddTournaments()
        {
            IEnumerable <TournamentFromApi> allTournaments = _apiTourneyRepo.GetTournaments().tournaments;

            var newTournaments = _tournamentsRepo.AddTournaments(allTournaments);

            return(Created("newtournaments", newTournaments));
        }