Exemple #1
0
 public async Task <int> Handle(WorkerDeleteCommand request, CancellationToken cancellationToken)
 {
     return(await _workerRepository.DeleteAsync(new Guid(request.Id.ToByteArray())));
 }