示例#1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterRoutes(RouteTable.Routes);

            AutoMapperConfig MapConfig = new AutoMapperConfig();

            ControllerBuilder.Current.SetControllerFactory(new NinjectControllerFactory());
        }
示例#2
0
 public void Setup()
 {
     AutoMapperConfig config = new AutoMapperConfig();
 }