protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); NinjectWebCommon.RegisterDependencyResolver(); var autoMapperConfig = new AutoMapperConfig( new[] { Assembly.GetExecutingAssembly(), Assembly.Load(Assemblies.WebModels), Assembly.Load(Assemblies.CommonServices) }); autoMapperConfig.Execute(); }