Well,
I have written JsonResult funtion. But i get the following error:
CS0103 C# The name \'Json\' does not exist in the current context
I got it !
I have forgotten to derive my class from Controller class
public class User: Controller { }