public StoreListingReviewModel(StoreListingModel listing, int rating, string review) { this.ListingID = listing.ID; this.UserID = ChannelSession.User.id; this.Rating = rating; this.Review = review; }
public StoreListingReportModel(StoreListingModel listing, string report) { this.ListingID = listing.ID; this.UserID = ChannelSession.User.id; this.Report = report; }