/// <summary> /// Clears the sync error and removes it from the error list on the c. /// </summary> public void ClearSyncError() { if (syncError != null) { context.ClearSyncError(syncError); syncError = null; OnPropertyChanged("SyncError"); OnPropertyChanged("HasSyncError"); } }
/// <summary> /// Clears the sync error and removes it from the error list on the c. /// </summary> public async Task ClearSyncError() { if (syncError != null) { await context.ClearSyncError(syncError); syncError = null; OnPropertyChanged("SyncError"); OnPropertyChanged("HasSyncError"); } }
private async void ClearSyncError(SyncError syncError, WinEightContext context) { RemoveSyncError(syncError); await context.ClearSyncError(syncError); }