예제 #1
0
        protected override void ConfigureContainerBuilder(Autofac.ContainerBuilder builder)
        {
            base.ConfigureContainerBuilder(builder);

            builder.RegisterControllers(typeof(MvcApplication).Assembly);
            builder.RegisterViewModels(typeof(MvcApplication).Assembly);
        }