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