Пример #1
0
        public static void RegisterMappings(IUnityContainer container)
        {
            UnityHelperChinook.RegisterMappings(container);

            UnityHelperAuditTrail.RegisterMappings(container);
            UnityHelperLog.RegisterMappings(container);
        }
Пример #2
0
        public static void RegisterMappings(IUnityContainer container)
        {
            UnityHelperChinook.RegisterMappings(container);

            UnityHelperAuditTrail.RegisterMappings(container);
            UnityHelperLog.RegisterMappings(container);
            UnityHelperSecurity.RegisterMappings(container);

            // Account

            container.RegisterType <AccountController>(new InjectionConstructor());
            //container.RegisterType<ManageController>(new InjectionConstructor());
            //container.RegisterType<RolesAdminController>(new InjectionConstructor());
            //container.RegisterType<UsersAdminController>(new InjectionConstructor());        }
        }
Пример #3
0
 public static void RegisterMappings(IUnityContainer container)
 {
     UnityHelperLog.RegisterMappings(container);
 }