Esempio n. 1
0
 public Result <IEnumerable <BareTournamentDto> > Handle(GetAllTournaments query)
 {
     return(Result.Success(_tournamentRepository.GetTournaments()
                           .Select(tournament => DomainToDtoConverters.ConvertToBareTournamentDto(tournament))));
 }