I have looked all around at Umbraco route hijacking and using IContentFinder and IUrlProvider and I am still a little lost on how to do what I want.
I have a controller that matches a document type which I have a base page for in Umbraco.
I made a document type called "Ads" and a controller called "AdsController: RenderMvcController"
I have a basic method to catch all like this
public ActionResult Index(RenderModel model)
It works if the route is like this
http://www.example.com/Ads?parent=Cars&child=American
but I want it to hit if I do this :
http://www.example.com/Ads/Cars/American
So basically nice MVC routing. I think content provider only lets you find content that is in your actual tree and this content isn't. I am going to find it using C# in the DB and render a custom view and return it using a custom view model.
I know how to do the view part. Just need to know how to hijack all routes under a parent route so my base controller method hits without having to create a bunch of templates or action methods for each AD category type.