예제 #1
0
        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());
        }
예제 #2
0
        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());
        }
예제 #3
0
        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());
        }