Пример #1
0
        public void RegisterRoutes(RouteCollection routes)
        {
            var mapper = new Mapper();
            Map(mapper);

            mapper.RegisterRoutes(routes);
        }
Пример #2
0
        public void RegisterRoutes(RouteCollection routes, string[] namespaces = null)
        {
            var mapper = new Mapper(namespaces);
            Map(mapper);

            mapper.RegisterRoutes(routes);
        }