Ejemplo n.º 1
0
 protected void Application_Start()
 {
     MappConfig.ConfigerMapping();
     //ConfigerMapping();
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
 }
        //private IMebeliGerganaContext context;
        //private List<Spalnq> spalni;



        private void ConfigureMapper()
        {
            MappConfig.ConfigerMapping();
            //Mapper.Initialize(expression =>
            //{
            //    expression.CreateMap<Detska, IzdeliqViewModel>();
            //    expression.CreateMap<Sekciq, IzdeliqViewModel>();
            //    expression.CreateMap<Portmanto, IzdeliqViewModel>();
            //});
        }
Ejemplo n.º 3
0
 private void ConfigureMapper()
 {
     MappConfig.ConfigerMapping();
 }