Example #1
0
 public void UpdatePostRating(PostRatingInfo objPostRating, int topicId)
 {
     dataProvider.UpdatePostRating(objPostRating.RatingId, objPostRating.PostId, objPostRating.UserId, objPostRating.Rating, objPostRating.Helpful, objPostRating.Comments, objPostRating.IpAddress);
     //Caching.ClearPostRatingCache(topicId);
 }
		public void UpdatePostRating(PostRatingInfo objPostRating, int topicId)
		{
			dataProvider.UpdatePostRating(objPostRating.RatingId, objPostRating.PostId, objPostRating.UserId, objPostRating.Rating, objPostRating.Helpful, objPostRating.Comments, objPostRating.IpAddress);
			//Caching.ClearPostRatingCache(topicId);
		}
Example #3
0
 public int AddPostRating(PostRatingInfo objPostRating, int topicId)
 {
     return(dataProvider.AddPostRating(objPostRating.PostId, objPostRating.UserId, objPostRating.Rating, objPostRating.Helpful, objPostRating.Comments, objPostRating.IpAddress, objPostRating.CreatedOnDate));
     //Caching.ClearPostRatingCache(topicId);
 }
		public int AddPostRating(PostRatingInfo objPostRating, int topicId)
		{
			return dataProvider.AddPostRating(objPostRating.PostId, objPostRating.UserId, objPostRating.Rating, objPostRating.Helpful, objPostRating.Comments, objPostRating.IpAddress, objPostRating.CreatedOnDate);
			//Caching.ClearPostRatingCache(topicId);
		}