public IEnumerable <GameResultDto> GetAll()
        {
            var gameResult    = gameResultService.GetAll();
            var gameResultDto = mapper.Map <IEnumerable <GameResultDto> >(gameResult);

            return(gameResultDto);
        }
Beispiel #2
0
        public IEnumerable <TheGameResult> Get()
        {
            var results = gameService.GetAll();

            return(results);
        }