Even though this API run on Net 6 ?
I thought somehow my API could have API Controllers but also MVC Controllers.
Adding services.AddControllersWithViews() and also dependency services.AddTransient<MyMvcController, MyMvcController>() in program.cs
Then the API Controller would call the MVC Controller and the MVC present its View.