Web api route prefixes with controller action names – Jquery ajax
I have an asp.net core 3.1 application. In startup file, I have the following route. app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: "default", pattern: "{controller}/{action}/{id?}", defaults: new { controller = "Home", action = "Index" }); endpoints.MapControllers(); endpoints.MapRazorPages(); }); I have position controller…