/*public int AddTransactionByStudentId(int id, string source, double amount)
         * {
         *  return TransactionsManager.AddTransactionByStudentId(id, source, amount).id;
         * }
         *
         *
         * public int AddTransactionByStudentUId(int uid, string source, double amount)
         * {
         *  return TransactionsManager.AddTransactionByStudentUId(uid, source, amount).id;
         * }
         *
         * public int AddTransactionByStudentCardId(int cardid, string source, double amount)
         * {
         *  return TransactionsManager.AddTransactionByStudentCardId(cardid, source, amount).id;
         * }*/

        public bool TransactionPayOnline(string username, double amount)
        {
            return(TransactionsManager.AddTransactionByUsername(username, "PayOnline", amount) != -1);
        }