I have an ASP.NET Core 3 MVC web app and I have a couple of controllers.
I am trying to form my links to access these controllers and I am unsure what I am doing wrong.
Controller names: Exhibitors, DemoQueue
Each controller has an Index action which takes 2 int type parameters
public IActionResult Index(int eventId, int companyId)
And here is my relevant Startup.cs code
app.UseEndpoints(endpoints =>
{
    endpoints.MapControllers();
    endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}");
});
So it is my understanding that I can browse to these 2 actions by these urls:
Exhibitors/1/2
DemoQueue/3/4
But it seems I have to use this longwinded value:
Exhibitors/Index?eventId=1&companyId=2
Is there a way to set a route to enable me to go to [controller]/id/id ? But go to a different controller e.g. Exhibitors or DemoQueue



