public void RegisterRoutes(RouteCollection routes) { var mapper = new Mapper(); Map(mapper); mapper.RegisterRoutes(routes); }
public void RegisterRoutes(RouteCollection routes, string[] namespaces = null) { var mapper = new Mapper(namespaces); Map(mapper); mapper.RegisterRoutes(routes); }
public void RegisterRoutes(IRouteBuilder routes, string[] namespaces = null) { var mapper = new Mapper(namespaces); Map(mapper); mapper.RegisterRoutes(routes); }