Let\'s say I have an object MyObject that looks like this:
public class MyObject { int ObjectID {get;set;} string ObjectString {get;set;} }
You could return the value using return JsonConvert.SerializeObject(objName); And send it to the front end