Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remote calling this controller with JsonResult result
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
namespace TestAspNetMvcNet.Controllers
{
public class LaserController : Controller
{
public JsonResult Valid(string PistoLaser)
{
return this.Json(true, JsonRequestBehavior.AllowGet);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.