| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using GreenTree.Nachtragsmanagement.Core.Plugins;
- using System.Web.Mvc;
- using System.Web.Routing;
- namespace GreenTree.Nachtragsmanagement.Plugin.Test
- {
- public class TestPlugin : BasePlugin, IPlugin
- {
- public override void Install()
- {
- RouteTable.Routes.MapRoute(
- name: "Default", // Route name
- url: "{controller}/{action}", // URL with parameters
- defaults: new { controller = "Test", action = "Index" } // Parameter defaults
- );
- base.Install();
- }
- public override void Uninstall()
- {
- base.Uninstall();
- }
- }
- }
|