public async Task <PlayerRecordDto> GetPlayerRecordByIdAsync(int id) { var playerRecord = await _recordsRepository.GetPlayerRecordById(id); var mappedRecord = _mapper.Map <PlayerRecordModel, PlayerRecordDto>(playerRecord); return(mappedRecord); }