A bit new to Umbraco, so this might be a bit of a scattered question.
I'm using 5.1.
I have a document type called Auction with a selected Template called Auction Details
My end goal is to call this controller method on my AuctionSurfaceController
[ChildActionOnly]
public PartialViewResult Detail(string id)
{
Guid auctionId;
if (Guid.TryParse(id, out auctionId))
{
var auction = auctionService.Client.GetAuction(auctionId);
return PartialView(auction);
}
return null;
}
As of this moment when I go to /Auction - it hits this method and passes in "Auction" into the method, when I go to /Auction/{GUID} i just get a 404
Could I please get some general guidance - or requests for clarifications on how to accomplish this. I would very much appreciate it
Cheers!