Ejemplo n.º 1
0
        public string InsertConsumerInterest(int AdvertisementID, int AssociateID, int jobType, int zipcode)
        {
            string          str         = string.Empty;
            BllConsumerPost objComments = new BllConsumerPost();

            str = objComments.InsertConsumerInterest(AdvertisementID, Convert.ToInt16(Session["consumer"].ToString()), AssociateID, jobType, zipcode);
            return(str);
        }
Ejemplo n.º 2
0
        public string ViewRating(int advertisementID)
        {
            string          str         = string.Empty;
            BllConsumerPost objComments = new BllConsumerPost();

            str = objComments.GetRatingRecord(advertisementID);
            return(str);
        }
Ejemplo n.º 3
0
        public string ViewComments(int advertisementID)
        {
            string          str         = string.Empty;
            BllConsumerPost objComments = new BllConsumerPost();

            str = objComments.RecordSelect(advertisementID);
            return(str);
        }
Ejemplo n.º 4
0
        public string SendConsumerDetail(int associateID, int advertisementID, int jobtype, int zipcode)
        {
            string str = string.Empty;

            if (Session["consumer"].ToString() != "" || Session["consumer"].ToString() != null)
            {
                BllConsumerPost objConsumerPost = new BllConsumerPost();
                str = objConsumerPost.SendConsumerDetail(associateID, advertisementID, Convert.ToInt16(Session["consumer"].ToString()), jobtype, zipcode, Session["userName"].ToString());
                return(str);
            }
            else
            {
                return("Error in Authentication");
            }
        }
Ejemplo n.º 5
0
        public string InsertComments(int AdvertisementID, string Comments, float rateforad)
        {
            string str = string.Empty;

            if (Session["consumer"].ToString() != "" || Session["consumer"].ToString() != null)
            {
                BllConsumerPost objConsumerPost = new BllConsumerPost();
                str = objConsumerPost.RecordInsert(AdvertisementID, Comments, Convert.ToInt16(Session["consumer"].ToString()), rateforad);
                return(str);
            }
            else
            {
                return("Error in Authentication");
            }
        }
Ejemplo n.º 6
0
        public string InsertAdvertisementClick(int AdvertisementID)
        {
            string          str         = string.Empty;
            BllConsumerPost objComments = new BllConsumerPost();
            int             _consumerID;

            if (Session["consumer"].ToString() == "" || Session["consumer"].ToString() == " ")
            {
                _consumerID = 0;
            }
            else
            {
                _consumerID = Convert.ToInt16(Session["consumer"].ToString());
            }
            str = objComments.ClickPerAdvertisements(AdvertisementID, _consumerID);
            return(str);
        }