public bool UpdateExciseStamp(IEnumerable <ReceiptWares> pRW) { var r = pRW.Where(e => e.ExciseStamp != null && e.ExciseStamp.Length > 0); try { return(db.UpdateExciseStamp(r)); } catch (Exception e) { Global.OnSyncInfoCollected?.Invoke(new SyncInformation { Exception = e, Status = eSyncStatus.NoFatalError, StatusDescription = "UpdateExciseStamp N=>" + r?.Count().ToString() + '\n' + e.Message + '\n' + new System.Diagnostics.StackTrace().ToString() }); } return(false); }