public static bool DeleteUser(int key) { try { int deleted = DBMusicDatabase.DeleteUser(DBSQLQueries.DeleteUser(), key); if (deleted == 1) { return(true); } else { return(false); } } catch (Exception ex) { throw ex; } }