1

I've got code on fist screenshot first screenshot, needed to display only this four properties. But when i start using this code i get my 4 properties + 2 unnecessary. Second screenshot(result):second screenshot

I tried to this one, but its not workingfull code with an attempt

1 Answers1

0

use an anonymous type instead of ProblemDetails

var json= JsonConvert.SerializeObject ( new 
                                  {
                                    Status=....
                                   });
Serge
  • 40,935
  • 4
  • 18
  • 45