Example #1
0
 public Task UpdateProteinDataAsync(ProteinUpdateType type, long updateArg, CancellationToken cancellationToken, IProgress<ProgressChangedEventArgs> progress)
 {
    // update the WuHistory table with protein info
    var proteinDataUpdater = new ProteinDataUpdater(this, _proteinService);
    proteinDataUpdater.UpdateType = type;
    proteinDataUpdater.UpdateArg = updateArg;
    return proteinDataUpdater.ExecuteAsync(cancellationToken, progress);
 }