Return JSON response in array format in ASP.NET MVC 5 C#
I want to return JSON format from my database using asp.net mvc5 c#. I tried a lot of ways but was unable to generate data as per my requirement. I need the JSON array in this format. { "draw":0, "recordsTotal":2,…