// ----------------------------------------------------------------------------------------------
        // MONEY ACCOUNTS -------------------------------------------------------------------------------
        // ----------------------------------------------------------------------------------------------

        public static bool ExistsMoneyAccount(int account_id)
        {
            var attrValue = DB_IO.AttrValue();

            attrValue[DB_API.MoneyAccountEnt.account_id] = account_id;
            return(DB_IO.Exists(DB_IO.DB_Interface.pr_exists_money_account, attrValue));
        }
// ----------------------------------------------------------------------------------------------
// USERS ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------

        public static bool ExistsUser(string email)
        {
            var attrValue = DB_IO.AttrValue();

            attrValue[DB_API.UserEnt.email] = email;
            return(DB_IO.Exists(DB_IO.DB_Interface.pr_exists_user, attrValue));
        }
        public static bool ExistsLoan(int account_id, string name)
        {
            var attrValue = new Dictionary <System.Enum, Object>
            {
                { LoanEnt.account_id, account_id },
                { LoanEnt.name, name }
            };

            return(DB_IO.Exists(DB_IO.DB_Interface.pr_select_loans, attrValue));
        }