Exemplo n.º 1
0
        private static IUnityContainer BuildUnityContainer()
        {
            var container = new UnityContainer();

            container.RegisterType <IUserStore <IdentityUser>, UserStore>();
            container.RegisterType <IUserManager <IdentityUser>, ApplicationUserManager>();

            IocBuilder.BuildContainer(container);

            return(container);
        }