Пример #1
0
        /// <summary>
        /// Default constructor
        /// </summary>
        private UserWrapper()
        {
            AuthBuilder authBuilder = AuthBuilder.GetInstance();

            this.IUserMgr     = authBuilder.GetManager <IUserMgr>(AuthBuilder.IUSERMGR);
            this.IUserRoleMgr = authBuilder.GetManager <IUserRoleMgr>(AuthBuilder.IUSERROLEMGR);
            StorageBuilder storageBuilder = StorageBuilder.GetInstance();

            this.IStorageBlobMgr = storageBuilder.GetManager <IStorageBlobMgr>(StorageBuilder.ISTORAGEBLOBMGR);
            this.EmailWrapper    = EmailWrapper.GetInstance();
        }