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: 'Brand' does not contain a definition for 'BrandId' and no extension method 'BrandId' accepting a first argument of type 'Brand' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 214: @foreach (var brand in ComparePageModel.BrandList) Line 215: { Line 216: <option value="@brand.BrandId">@brand.Name</option> Line 217: } Line 218: </select>

Source File: C:\Inetpub\vhosts\steelhamoon.com\httpdocs\Theme\TS_Steelhamoon\Views\Prdouct\CompareProducts.cshtml    Line: 216






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