Beispiel #1
0
 public Task ChangeOutcomeDescription(IKey outcomeKey, string description)
 {
     return(Task.Factory.StartNew(() =>
     {
         Outcome outcome = outcomeRepository.Get(outcomeKey);
         outcome.ChangeDescription(description);
         outcomeRepository.Save(outcome);
     }));
 }