Skip to content

Instantly share code, notes, and snippets.

@evan-boissonnot
Created February 20, 2019 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evan-boissonnot/f4b084046d1c2ae2394a9b2de3be9039 to your computer and use it in GitHub Desktop.
Save evan-boissonnot/f4b084046d1c2ae2394a9b2de3be9039 to your computer and use it in GitHub Desktop.
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