Can't Convert editor result to Json

Can't Convert editor result to Json

BenjiHorseBenjiHorse Posts: 4Questions: 2Answers: 0

I'm following the example in https://editor.datatables.net/manual/net/mvc using dotnet core 2.1 but in Visual Studio the "return JsonResult(response);" gives the error "Non-invocable member JsonResult cannot be used like a method". Any ideas what I'm doing wrong?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 22,498Questions: 26Answers: 5,170
    edited December 2018 Answer ✓

    Google seems to indicate that JsonResult is not a method. Maybe this example from SO will help.

    Kevin

  • BenjiHorseBenjiHorse Posts: 4Questions: 2Answers: 0

    Thanks kthorngren, this helped!

This discussion has been closed.