Beispiel #1
0
 public Task <UnfinishedBarcodes> HandleAsync(NoteIdPayload input, ExternalTask task)
 {
     try
     {
         var barcodes = _service.GetBarcodesForUnfinishedArticles(input.NoteId);
         return(Task.FromResult(new UnfinishedBarcodes(barcodes)));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
Beispiel #2
0
 public Task <HashSet <string> > HandleAsync(NoteIdPayload input, ExternalTask task)
 {
     return(Task.FromResult(_service.GetBarcodesForUnfinishedArticles(input.NoteId)));
 }