Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'Nop.Web.Models.Catalog.ProductReviewHelpfulnessModel' does not contain a definition for 'ProductId' and no extension method 'ProductId' accepting a first argument of type 'Nop.Web.Models.Catalog.ProductReviewHelpfulnessModel' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 28:                     type: "POST",
Line 29:                     url: "@(Url.RouteUrl("SetProductReviewHelpfulness"))",
Line 30:                     data: { "productReviewId": @(Model.ProductReviewId), "productId": @(Model.ProductId) ,"washelpful": wasHelpful },
Line 31:                     success: function (data) {
Line 32:                          $("#helpfulness-vote-yes-@(Model.ProductReviewId)").html(data.TotalYes);

Source File: c:\host\LocalUser\penders\Themes\SheetMusicService\Views\Product\_ProductReviewHelpfulness.cshtml    Line: 30






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0