© 2026 Hedgehog Software, LLC
<div class="wrapper" id="preExistingDashboard"> @foreach (var listingModel in Model) { <div class="listing"> <div class="content"> <div> /* The ERROR here : Cannot resolve method: GetFileName(ListingProjects_ver2) Candidates are: GetFileName(ReadOnlySpan<char>) : ReadOnlySpan<char><br/>GetFileName(string?) : string?<br/>all from class Path*/ <img src="@listingModel" alt="@System.IO.Path.GetFileName(listingModel)" style="display:block; width:100px;height:100px;"> </div> <p> Property Name: <span class="view-mode listing-name">@listingModel.ListingName</span> Property Review: <span>@listingModel.ListingReview</span> </p> <p>I am the pre-existing dashboard</p> <p>Age: @listingModel.Id</p> <div class="roundPlaceholder"> <p class="roundPlaceholderTxt">Book me before you edit</p> </div> <div class="deleteListingBtn"> <button type="button" class="delete" id="Delete" onclick="Delete(@listingModel.Id)" class="btn btn-danger">Delete</button> </div> //more code lines.. </div> </div> }