示例#1
0
文件: Processor.cs 项目: teoadal/velo
 public Task Process(Command command, CancellationToken cancellationToken)
 {
     return(Task.Run(() => _booRepository.UpdateElement(command.Id, boo =>
     {
         boo.Bool = command.Bool;
         boo.Int = command.Int;
     }), cancellationToken));
 }