I have been stuck with ReferenceError: System is not defined issue.
If I create a new mvc project and add the references then everything works fine.
But when I add this to my current project, I get this error.
public ActionResult Backend()
{
var x = new Dps().CallBack(this);
return x;
}
The return type is wrong in x is System.Web.Mvc.ContentAResult.
I think there is a conflict with something but I can't seem to find anything as I have removed all the other references. Earlier I had reference to Kendo MVC and unity.mvc
Can anyone help me with this?
I have attached screenshots.