DataManager remove method is not working

Hi,

I am trying to delete an Entity using DataManager remove method but it is not working


    public void remove(Long id) {
        Setting setting = getSettingById(id);
        <b>dataManager.remove(setting);</b>
    }

How should I do to remove an Entity ?

Thanks,

James

Hello,

this method can be used without any special actions.

Please clarify your question - when and where do you perform the deletion? It will be great if you share a small project where this problem can be reproduced.

Best regards,
Daniil.

Hi Daniil,

Thanks for your reply

I don’t know what happened for sure. I was performing the deletion in my repository class.

As I had to recreate my project for other reasons now it is working.

Thank you

Good. Write if the problem recurs.