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 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); }