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

Comments

Be the first to post a comment

Post a comment