Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unexpected "if" keyword after "@" character. Once inside code, you do not need to prefix constructs like "if" with "@".
Source Error:
Line 37: <p><span>Author: </span><span>@Model.Author</span></p>
Line 38: </div>
Line 39: @if (Model.FileAttachments != null && Model.FileAttachments.Count > 0)
Line 40: {
Line 41: <p>File attachment</p>
Source File: /Views/New/DetailEn.cshtml Line: 39
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2053.0