public RemoteAttribute( string routeName )
routes.MapRoute(name: "remoteValidatorRoute", url: "{controller}/{action}/{id}", defaults: new { controller = "LoanProcessing", action = "TestSalaryHighest", id = UrlParameter.Optional });
public class LoanProcessingController : Controller { <pre lang="cs">public JsonResult TestSalaryHighest(int? salary) { return Json(salary<10, JsonRequestBehavior.AllowGet); }</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)