예제 #1
0
        public async Task <PlayerRecordDto> GetPlayerRecordByIdAsync(int id)
        {
            var playerRecord = await _recordsRepository.GetPlayerRecordById(id);

            var mappedRecord = _mapper.Map <PlayerRecordModel, PlayerRecordDto>(playerRecord);

            return(mappedRecord);
        }