I am working on .net core web api and i have come across an issue where data is being sent as a model class but still in swagger no data is found in reponse i just see
{}
here is the screen shot of data returned by api
I gone through so much possibilities on stack and havent found any issue related to this
CodePudding user response:
The issue i had been through was that i had not made setter and getters for the object returned as it was returning multiple ienumerable objects. so setter and getters solved my problem