Esempio n. 1
0
        /// <summary>
        /// Checks if the new account is allowed in the database
        /// </summary>
        /// <returns>True if changes are allowed false if not</returns>
        public bool CreateAccount(Account Account)
        {
            bool Check = DatabaseCreateAccount.CreateAccount(Account);

            return(Check);
        }
Esempio n. 2
0
        /// <summary>
        /// Checks if the account is allowed in the database and creates it with an RFID tag.
        /// </summary>
        /// <param name="Account">A single account object</param>
        /// <param name="RFIDTag">An RFID tag from an RFID reader.</param>
        /// <returns>True if changes are allowed and false if they're not</returns>
        public bool CreateAccountWithRFID(Account Account, string RFIDTag)
        {
            bool Check = DatabaseCreateAccount.CreateAccountWithRFID(Account, RFIDTag);

            return(Check);
        }