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

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

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