So I have an Infrastructure Layer (Project1) where I register all modules, so I am using Autofac and it goes like this:
builder.RegisterType