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); }
public string ViewRating(int advertisementID) { string str = string.Empty; BllConsumerPost objComments = new BllConsumerPost(); str = objComments.GetRatingRecord(advertisementID); return(str); }
public string ViewComments(int advertisementID) { string str = string.Empty; BllConsumerPost objComments = new BllConsumerPost(); str = objComments.RecordSelect(advertisementID); return(str); }
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"); } }
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"); } }
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); }