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

Source Error:


Line 5:  
Line 6:  
Line 7:      var coordinates = Model.MapCoordinates.ToString().Split(',');
Line 8:  
Line 9:      var latitude = coordinates[0];

Source File: C:\Users\August\source\repos\HWEN\HWEN\Views\contact.cshtml    Line: 7






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