public static Transactions GetTransactions(long userId) { using (Database db = new MySqlDatabase()) { return db.GetTransactions(userId); } }