0

Here i'm using visualstudio2013 i select EmptyTemplate with WebApi why its not Accepecting JsonResult Like

Public JsonResult GetData(){
}

Here i'm Getting at JsonResult Not found

1 Answers1

0

The function you're searching for is a part of the System.Web.Mvc.dll file. You have to add this reference to your project.

If you don't know how to add references, this should be very interesting for you: https://msdn.microsoft.com/en-us/library/wkze6zky.aspx

If you can't find this file on your system, this should be very interesting as well: Where can I find System.Web.MVC dll in a system where MVC 3 is installed?

Community
  • 1
  • 1
sombra
  • 136
  • 2
  • 3