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: CS1502: The best overloaded method match for 'ASP._Page_Views_Shared__Header_cshtml.IsActive(int, bool)' has some invalid arguments

Source Error:


Line 31:                 @if (catalogRoot != null)
Line 32:                 {
Line 33:                     <li@(IsActive(catalogRoot.Id))>
Line 34:                         <a href="@catalogRoot.Url">@catalogRoot.Name</a>
Line 35:                     </li>

Source File: w:\signatureroom.com\Views\Shared\_Header.cshtml    Line: 33






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