예제 #1
0
 public async Task When(SampleCancelled e)
 {
     await _writer.Update(e.Id, x =>
     {
         x.Status = SampleStatus.Cancelled;
     });
 }
예제 #2
0
 private void When(SampleCancelled e)
 {
     Status = SampleStatus.Cancelled;
 }