public void SyncNotes() { var result = objHelper.SyncNotes(); Assert.IsNotNull(result); Assert.IsTrue(result); }
private void tmSyncTimer_Tick(object sender, EventArgs e) { try { if (CommonUtility.CheckForInternetConnection()) { syncHelper.SyncNotes(); } } catch (Exception ex) { logException.LogExceptionToDisk(ex.ToString()); } }