Exemple #1
0
        public async Task <GenericResponse <IEnumerable <BaseGameResponse> > > GetSupportedGames()
        {
            IEnumerable <TGame> games = await _gameDataAccess.GetSupportedGames();

            return(new GenericResponse <IEnumerable <BaseGameResponse> >(_mapper.Map <IEnumerable <TGame>, IEnumerable <BaseGameResponse> >(games)));
        }