Example #1
0
 public IEnumerable <QBLog> GetUnPostedParentQBLogs()
 {
     try {
         QuickBookLibrary lib = new QuickBookLibrary(ConfigurationHelper.GetsmARTDBContextConnectionString());
         return(lib.GetUnPostedParentQBLogs());
     }
     catch (Exception ex) {
         string details = string.Format("Method: {1} {0} Message: {2} {0} Stack Trace: {3}", System.Environment.NewLine, "GetUnPostedParentQBLogs", ex.Message, ex.StackTrace.ToString());
         smART.Common.MessageLogger.Instance.LogMessage(ex, details, Common.Priority.High, 0, System.Diagnostics.TraceEventType.Error, "Service Error", "Service");
         return(null);
     }
 }
Example #2
0
        public IEnumerable <QBLog> GetAll()
        {
            QuickBookLibrary lib = new QuickBookLibrary(ConfigurationHelper.GetsmARTDBContextConnectionString());

            return(lib.GetUnPostedParentQBLogs());
        }