Пример #1
0
 public async Task When(SampleApproved e)
 {
     await _writer.Update(e.Id, x =>
     {
         x.Status = SampleStatus.Approved;
     });
 }
Пример #2
0
 private void When(SampleApproved e)
 {
     Status = SampleStatus.Approved;
 }