I have something like this:
endpoints.MapDefaultControllerRoute(); endpoints.MapDynamicControllerRoute("{**path}");