public static CollectionsMasterEntity[] EditData(int id)
        {
            var details = new List <CollectionsMasterEntity>();

            try
            {
                details = new CollectionsMasterDAO().EditCollections(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
        public static CollectionsMasterEntity[] GetData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <CollectionsMasterEntity>();

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