protected virtual void RegisterDbContext(ContainerBuilder builder) { builder.RegisterType<DbContext>().As<IDbContext>(); }