using GreenTree.Nachtragsmanagement.Web.Framework.Mvc.Routes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Web.Routing;

namespace GreenTree.Nachtragsmanagement.Plugin.Test
{
    public class RouteProvider : IRouteProvider
    {
        public int Priority
        {
            get { return 0; }
        }

        public void RegisterRoutes(RouteCollection routes)
        {
            routes.MapRoute(
                "GreenTree.Nachtragsmanagement.Plugin.Test.Index",
                "plugins/test/",
                new
                {
                    controller = "Test",
                    action = "Index"
                },
                new[]
                {
                    "GreenTree.Nachtragsmanagement.Plugin.Test.Controllers"
                }
            );
        }
    }
}
