public async Task <PlayerOutputDto> GetById(int id) { var player = await _playersRepository.FindAsync(id); return(MappingConfig.Mapper().Map <PlayerOutputDto>(player)); }