Пример #1
0
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     UnityConfig.RegisterComponents();
     GlobalConfiguration.Configure(WebApiConfig.Register);
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     AutoMapperServiceLayerConfiguration.Configure();
 }
Пример #2
0
 public void Init()
 {
     AutoMapperServiceLayerConfiguration.Configure();
 }
Пример #3
0
 public void Init()
 {
     AppDomain.CurrentDomain.SetData("DataDirectory", System.IO.Directory.GetCurrentDirectory());
     AutoMapperServiceLayerConfiguration.Configure();
     this.context = new FileDiffContext();
 }