Esempio n. 1
0
        public async Task <PlayerOutputDto> GetById(int id)
        {
            var player = await _playersRepository.FindAsync(id);

            return(MappingConfig.Mapper().Map <PlayerOutputDto>(player));
        }