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.GetThumbnail(Junki.Core.Enums.PhotoFileType, int, System.Guid, string)'

Source Error:


Line 5:          <a href="@Url.Action(MVC.Home.ActionNames.TopPhoto, MVC.Home.Name, new { PhotoId = Model.Id, TopType = Junki.Core.Enums.TopPhotoType.Photographer })">
Line 6:              <div class="divImgsPhoto">
Line 7:                  <img src="@Href(Junki.Core.Helpers.ImagePathHelper.GetThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.Id, Model.Guid.Value, Model.FileName))" />
Line 8:  
Line 9:                  <div class="shadow">

Source File: c:\home\site\wwwroot\Views\Home\Partials\PhotoListItem.cshtml    Line: 7






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