public void Insert(int ProductID, string ReviewerName, DateTime ReviewDate, string EmailAddress, int Rating, string Comments, DateTime ModifiedDate) { ProductReview item = new ProductReview(); item.ProductID = ProductID; item.ReviewerName = ReviewerName; item.ReviewDate = ReviewDate; item.EmailAddress = EmailAddress; item.Rating = Rating; item.Comments = Comments; item.ModifiedDate = ModifiedDate; item.Save(UserName); }
public bool Destroy(object ProductReviewID) { return(ProductReview.Destroy(ProductReviewID) == 1); }
public bool Delete(object ProductReviewID) { return(ProductReview.Delete(ProductReviewID) == 1); }