Server Error in '/Employment' 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: 'Uww.Employment.Core.Data.Models.View.PositionView' does not contain a definition for 'Request' and no extension method 'Request' accepting a first argument of type 'Uww.Employment.Core.Data.Models.View.PositionView' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 4:  
Line 5:  @if (ViewBag.IsAdmin ?? false) {
Line 6:      @Html.ActionLink("Edit", "Edit", "Request", new { id = Model.Request.Id }, new { @class = "btn btn-sm btn-primary", style="margin-left:8px;" })
Line 7:  
Line 8:      @Html.ActionLink("Details", "Details", "Request", new { id = Model.Request.Id }, new { @class = "btn btn-sm btn-primary", style="margin-left:8px;" })

Source File: d:\WebApps\My\Employment\Views\Jobs\Listing.cshtml    Line: 6






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