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

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

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