public void SynchronizeAsync() { AsyncManager.OutstandingOperations.Increment(); SiteModel.GetHeadlinesCompleted += (sender, e) => { AsyncManager.OutstandingOperations.Decrement(); }; SiteModel.synchronizeDBWithIISAsync(); }