app.UseMvc(routes =>
            {
                routes.MapRoute(
                    name"default",
                    template"{controller=Home}/{action=Index}/{id?}");
            });

Comments

Post a comment