Esempio n. 1
0
        /// <summary>
        /// Updated the information in the data store
        /// </summary>
        /// <param name="profile">MDBInformation</param>
        /// <returns>bool or exception</returns>
        public static bool UpdateProfile(MDBInformation profile)
        {
            bool           mRetVal = false;
            BDBInformation mBll    = new BDBInformation(SecurityEntityUtility.CurrentProfile(), ConfigSettings.CentralManagement);

            mRetVal = mBll.UpdateProfile(profile);
            return(mRetVal);
        }
Esempio n. 2
0
        /// <summary>
        /// New instance of the class
        /// </summary>
        /// <returns>MDBInformation</returns>
        public static MDBInformation DBInformation()
        {
            BDBInformation mBll = new BDBInformation(SecurityEntityUtility.CurrentProfile(), ConfigSettings.CentralManagement);

            return(mBll.GetProfile);
        }