I have this class but I don't want to return Third property all the times form my REST API. How can I do that?
- public class MyModel
- {
- public int Id { get; set; }
- public int Level{ get; set; }
- public int Third{ get; set; }
- }
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shweta LodhaPosted Jun 15, 2020, 7:57 PM