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 6:      <div class="container">
Line 7:  
Line 8:          <img src="@Url.Content(ImagePathHelper.GetThumbnail(Junki.Core.Enums.PhotoFileType.Photo, Model.IdPhoto, Model.Guid.HasValue ? Model.Guid.Value : Guid.Empty, Model.MainPhotoFileName))" />
Line 9:      </div>
Line 10: 

Source File: c:\home\site\wwwroot\Views\Home\Partials\AlbumListCategoryItem.cshtml    Line: 8






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