public void UpdateReview(ReviewInfo reviewInfo) { DataProvider.Instance().ExecuteNonQuery( "Store_Reviews_UpdateReview", reviewInfo.ReviewID, reviewInfo.UserName, reviewInfo.Rating, DataHelper.GetNull(reviewInfo.Comments), reviewInfo.Authorized); }
public void AddReview(ReviewInfo reviewInfo) { DataProvider.Instance().ExecuteNonQuery( "Store_Reviews_AddReview", reviewInfo.PortalID, reviewInfo.ProductID, reviewInfo.UserName, reviewInfo.Rating, DataHelper.GetNull(reviewInfo.Comments), reviewInfo.Authorized, DataHelper.GetNull(reviewInfo.CreatedDate)); }