¡@

Home 

2014/10/16 ¤W¤È 12:06:30

jquery Programming Glossary: prettyid

MVC JSON actions returning bool

http://stackoverflow.com/questions/3754324/mvc-json-actions-returning-bool

actions written like this GET TaxStatements CalculateTax prettyId public ActionResult CalculateTax int prettyId if prettyId 0.. CalculateTax prettyId public ActionResult CalculateTax int prettyId if prettyId 0 return Json true JsonRequestBehavior.AllowGet.. prettyId public ActionResult CalculateTax int prettyId if prettyId 0 return Json true JsonRequestBehavior.AllowGet TaxStatement..

MVC JSON actions returning bool

http://stackoverflow.com/questions/3754324/mvc-json-actions-returning-bool

JSON actions returning bool I had my ASP.NET MVC actions written like this GET TaxStatements CalculateTax prettyId public ActionResult CalculateTax int prettyId if prettyId 0 return Json true JsonRequestBehavior.AllowGet TaxStatement.. my ASP.NET MVC actions written like this GET TaxStatements CalculateTax prettyId public ActionResult CalculateTax int prettyId if prettyId 0 return Json true JsonRequestBehavior.AllowGet TaxStatement selected _repository.Load prettyId return Json.. actions written like this GET TaxStatements CalculateTax prettyId public ActionResult CalculateTax int prettyId if prettyId 0 return Json true JsonRequestBehavior.AllowGet TaxStatement selected _repository.Load prettyId return Json selected.calculateTax..