mercredi 31 août 2016

How to pass LIST to view as JSON in MVC asp.net

I need to pass this list to my view: enter image description here

But in this format:

{
  "data": [
    {
      "FIRST_NAME": "Robert",
      "LAST_NAME": "Meczybula",
      "ID": 12421
       ...
     },
...
]}

Aucun commentaire:

Enregistrer un commentaire