Пример #1
0
        public static BannerImageEntity[] GetBannerData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <BannerImageEntity>();

            try
            {
                details = new BannerMasterDAO().GetBannerList();
            }
            catch (Exception ex)
            {
                // details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
Пример #2
0
        public static BannerImageEntity[] EditData(int id)
        {
            var details = new List <BannerImageEntity>();

            try
            {
                details = new BannerMasterDAO().EditBanner(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }