public static CatalogMasterEntity[] GetData(SearchCatalogEntity obj) //Show the details of the data after insert in HTML Table { var details = new List <CatalogMasterEntity>(); try { details = new CatalogMasterDAO().GetCatalogList(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static CatalogImageEntity[] GetCatalogImagesData(long id) //Show the details of the data after insert in HTML Table { var details = new List <CatalogImageEntity>(); try { details = new CatalogMasterDAO().GetCalatogImages(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static ItemLedgerEntity[] GetItemLedgerData(int id) { var details = new List <ItemLedgerEntity>(); try { details = new CatalogMasterDAO().GetItemLedgerData(id); } catch (Exception ex) { //details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }