public static List <CatalogueList> GetCatalogueListData(string connString, string Show_ID) { List <CatalogueList> retVal = new List <CatalogueList>(); try { CatalogueList catalogue = new CatalogueList(connString); Guid show_ID = new Guid(Show_ID); if (catalogue.PopulateCatalogueListByRingNumber(show_ID)) { retVal = catalogue.GetCatalogueListByRingNumber(); } } catch (Exception ex) { throw ex; } return(retVal); }
public static List<CatalogueList> GetCatalogueListData(string Show_ID) { List<CatalogueList> catalogueList = new List<CatalogueList>(); CatalogueList catalogue = new CatalogueList(); Guid show_ID = new Guid(Show_ID); if (catalogue.PopulateCatalogueListByRingNumber(show_ID)) { catalogueList = catalogue.GetCatalogueListByRingNumber(); } return catalogueList; }