Beispiel #1
0
 private async Task UpdateNominationStatusToError()
 {
     try
     {
         await UserDataStorage
         .UpdateNominationStatus(Options.NominationId, NominationStatus.Error, null, CancellationToken.None);
     }
     catch (Exception ex)
     {
         Log.BatchError(ex);
     }
 }
Beispiel #2
0
 private async Task UpdateNominationStatusToCompleted(CancellationToken cancellationToken)
 {
     await UserDataStorage
     .UpdateNominationStatus(Options.NominationId, NominationStatus.Complete, null, cancellationToken);
 }