Ejemplo n.º 1
0
        public static void Build()
        {
            ContainerBuilder builder = new ContainerBuilder();

            builder.AddUnitOfWork();
            builder.AddDomainService();
            builder.AddRepository();
            builder.AddApplicationService();
            builder.AddNLog();
            builder.AddMvcControllers();

            var container = builder.Build();

            container.AddMvc5();
        }