protected override void ConfigureContainerBuilder(Autofac.ContainerBuilder builder) { base.ConfigureContainerBuilder(builder); builder.RegisterControllers(typeof(MvcApplication).Assembly); builder.RegisterViewModels(typeof(MvcApplication).Assembly); }