I am mapping an object from my controller, I sent it through the GET method by JSON. The object generates it well, check that it brings data. The communication is correct, it works well if I send an empty object or a text, the problem is when I send it to JSON. I throw error, when I want to see the description of the object it says "[Object object]" and when I want to see its values "Undefined".
What could be the error? I'm using Model ViewModel that does not have that class, could that be the problem? What strikes me is that I worked perfectly sending data, but when I change the implementation of the database (use Entity Framework) now it returns error instead of mapping it correctly.