public IEnumerable<MSI_Port_CollectionsTrans> GetCollectionsTransactions(string portfolioNumber, bool isOriginal, string userId = "") { string thisMethod = string.Format("{0}.{1}", thisClass, System.Reflection.MethodBase.GetCurrentMethod().Name); string logMessage = string.Format("{0}|Method incoming parameters portfolioNumber={1}, userId={2}", thisMethod, portfolioNumber, userId); LogHelper.Info(logMessage); IEnumerable<MSI_Port_CollectionsTrans> transactions = null; try { DataQueries query = new DataQueries(); transactions = query.GetPortfolioCollectionsSummary(portfolioNumber, userId, isOriginal); } catch (Exception ex) { ErrorLogHelper.Error(logMessage, ex); } return transactions; }