Esempio n. 1
0
        public static IUnityContainer Initialise()
        {
            var container = BuildUnityContainer();

            DependencyResolver.SetResolver(new UnityDependencyResolver(container));
            ObjectResolver.SetContainer(container);
            return(container);
        }