Esempio n. 1
0
 public Task Process(Command command, CancellationToken cancellationToken)
 {
     return(Task.Run(() => _booRepository.UpdateElement(command.Id, boo =>
     {
         boo.Bool = command.Bool;
         boo.Int = command.Int;
     }), cancellationToken));
 }