Esempio n. 1
0
        /// <summary>
        /// This Method get Advertisments on the basis of Subcategory
        /// </summary>
        /// <param name="subCategoryID"></param>
        /// <returns></returns>
        public string SelectHomeP(int subCategoryID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.SelectHomePageAdvertisement(subCategoryID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Get Count total advertisement
        /// </summary>
        /// <param name="subCategoryID"></param>
        /// <returns></returns>
        public string CountAdvertisementsH(int subCategoryID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.TotalAdvertisementHome(subCategoryID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 3
0
        public string SelectHomePWithParam(int subCategoryID, string param)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.SelectHomePageAdvertisementWithSearching(subCategoryID, param));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 4
0
        public string DeleteRecord(PropSaveAdvertisements objProperty)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.DeleteSavedAdvertisement(objProperty));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 5
0
        /// <summary>
        /// Bind BookMark Avdvertisements
        /// </summary>
        /// <param name="zipcode"></param>
        /// <param name="catID"></param>
        /// <returns></returns>

        public string ConsumerSavedBookAdvertisementsForServices(int ConsumerID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.ConsumerSavedBookAdvertisementsForServices(ConsumerID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 6
0
        /// <summary>
        /// This Method will get data of associate and advertisements for whome consumer contated before
        /// </summary>
        /// <param name="consumerID"></param>
        /// <returns></returns>
        public string ViewAssociateContactedDetail(int consumerID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.ViewAssociateContactedDetail(consumerID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 7
0
        public string RecordInsert(PropSaveAdvertisements objProperty, int zipCode, int jtype)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.InsertSaveAdvertisement(objProperty, zipCode, jtype));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 8
0
        public string SelectFeaturedAdv(int adID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.ShowFeaturesAdvertisment(adID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 9
0
        /// <summary>
        /// This Method is used to Select data
        /// </summary>
        /// <param name="objCategory">Action</param>
        /// <returns>1 for success and -1 for fail</returns>
        public string RecordSelect(string zipcode, int subCategoryID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.SelectAdvertisement(zipcode, subCategoryID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 10
0
        /// <summary>
        /// This method will display complete detail of an advertisment
        /// </summary>
        /// <param name="adID"></param>
        /// <returns></returns>

        public string SelectFullDetail(int adID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.AdvertisementDetail(adID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 11
0
        /// <summary>
        /// Get count total advertisement saved by consumer
        /// </summary>
        /// <param name="consumerID"></param>
        /// <returns></returns>

        public string CountAdvertisementsConsumer(int consumerID)
        {
            DllinnerPage objDal = new DllinnerPage();

            try
            {
                return(objDal.TotalAdvertisementConsumerSaved(consumerID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }