Example #1
0
        public async Task <HighScore> Update(Guid id, ModifiedHighScore modifiedHighScore)
        {
            HighScore highScore = await _repository.GetHighScore(id);

            highScore.Score = modifiedHighScore.Score;
            await _repository.UpdateHighScore(highScore);

            return(highScore);
        }
 public Task <HighScore> Update(Guid id, ModifiedHighScore highScore)
 {
     return(_processor.Update(id, highScore));
 }