Esempio n. 1
0
        public static DesignMasterEntity[] EditData(int id)
        {
            var details = new List <DesignMasterEntity>();

            try
            {
                details = new DesignMasterDAO().EditDesign(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
Esempio n. 2
0
        public static DesignMasterEntity[] GetData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <DesignMasterEntity>();

            try
            {
                details = new DesignMasterDAO().GetDesignList();
            }
            catch (Exception ex)
            {
                // details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }