class MusicTypeStore {

    public boolean delete(int id) {
        boolean result = false;
        try (Connection connect = CON.getConnect();
             PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("deleteType"))) {
            st.setInt(1, id);
            result = st.executeUpdate() > 0;
        } catch (SQLException e) {
            LOG.error(e.getMessage(), e);
        }
        return result;
    }

}