Many a times we wish to get json as data from asp.net webapi in order to do so we use
return Json(new { key = value}).
Using entity framework we get the bill data and user data and return it after formating it to json.
After that we can use the json data in our application.
Have you got a better way to render the same write in the comment section below or do share if you find it exciting.If you stumble upon any problem do comment.Will get back to you.
return Json(new { key = value}).
Using entity framework we get the bill data and user data and return it after formating it to json.
After that we can use the json data in our application.
Have you got a better way to render the same write in the comment section below or do share if you find it exciting.If you stumble upon any problem do comment.Will get back to you.
Comments
Post a Comment