Esempio n. 1
0
        //public string RecordInsert(PropSales objProperty, string associateID, object FeatureID)
        public string RecordInsert(PropSales objProperty, string associateID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.InsertSale(objProperty, associateID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 2
0
        public string GetInterestedConsumersInfo(string associateID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.InterestedConsumers(associateID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 3
0
        public string SelectAllAdvertisements(string associateID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.SelectAllAdvertisement(associateID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 4
0
        public string RecordUpdate(string associateID, string ImgName, string Img1, string Img2, string Img3, int Associate)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.UpdateAdvertisementPics(associateID, ImgName, Img1, Img2, Img3, Associate));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 5
0
        public string DeleteInterestedRecord(string associateID, int advtsID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.DeleteInterestedRecord(associateID, advtsID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 6
0
        public string UpdateSingleImage(string associateID, string ColName, string ImgName, int AdvertiseID, string actionName)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.UpdateAdvertisementPicsSingle(associateID, ColName, ImgName, AdvertiseID, actionName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 7
0
        public string UpdatePostAdvertisementsCost(string associateID, int advtsID, float amount)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.UpdatePostAdvertisementsCost(associateID, advtsID, amount));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 8
0
        public string RecordSelect(string associateID, int jobType)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.SelectAdvertisement(associateID, jobType));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 9
0
        public string TotalInterestedConsumersSales(string associateID, int jobType)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.InterestedConsumersSalesCount(associateID, jobType));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 10
0
        public string AssociateZipcodeCount(string associateID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.PurchasedZipcodeCount(associateID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 11
0
        public string AssociateCategoriesCount(string associateID)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.AssociateCategoriesCount(associateID));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 12
0
        public string BlockedRecords(PropSales objProperty, string associateID, int activeV)
        {
            DllSale objDal = new DllSale();

            try
            {
                return(objDal.BlockPostAdvertisements(objProperty, associateID, activeV));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Esempio n. 13
0
        public string GetAdvertisementClick(string associateID)
        {
            DllSale objDal = new DllSale();

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