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: CS0120: An object reference is required for the non-static field, method, or property 'Junki.Core.Helpers.ImagePathHelper.GetTopPhotoThumbnail(Junki.Core.Enums.PhotoFileType, int, System.Guid, string)'

Source Error:


Line 11:               {
Line 12:                 <a href="@Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { filterType = FilterType.Yearly, topRecord = Model.TopYearId.Value }, null)">
Line 13:                     <img src="@Url.Content(Junki.Core.Helpers.ImagePathHelper.GetTopPhotoThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.PhotoOfTheYear.Id, Model.PhotoOfTheYear.Guid ?? Guid.Empty, Model.PhotoOfTheYear.FileName))" />
Line 14:                 </a>
Line 15:               }

Source File: c:\home\site\wwwroot\Views\Home\Photos.cshtml    Line: 13






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