|
|
|
@ -110,16 +110,8 @@ namespace MyCompanyName.MyProjectName.DemoApp |
|
|
|
app.UseAbpRequestLocalization(); |
|
|
|
app.UseAuditing(); |
|
|
|
|
|
|
|
app.UseMvc(routes => |
|
|
|
{ |
|
|
|
routes.MapRoute( |
|
|
|
name: "defaultWithArea", |
|
|
|
template: "{area}/{controller=Home}/{action=Index}/{id?}"); |
|
|
|
|
|
|
|
routes.MapRoute( |
|
|
|
name: "default", |
|
|
|
template: "{controller=Home}/{action=Index}/{id?}"); |
|
|
|
}); |
|
|
|
app.UseMvcWithDefaultRouteAndArea(); |
|
|
|
|
|
|
|
AsyncHelper.RunSync(async () => |
|
|
|
{ |
|
|
|
|