Beispiel #1
0
        public static GramSlabMasterEntity[] EditData(int id)
        {
            var details = new List <GramSlabMasterEntity>();

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

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