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

Source Error:


Line 46:     }
Line 47: 
Line 48:     if (!string.IsNullOrEmpty(mdl.Address.ToHtmlString()) || !string.IsNullOrEmpty(mdl.Lat) || mdlChildren.Any())
Line 49:     {
Line 50:         <div class="container-fluid location page-content c_@sectorColour">

Source File: D:\domains\prolifics-testing.com\www.prolifics-testing.com\Views\location.cshtml    Line: 48






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