Beispiel #1
0
 public JsonResult CodeTypeWrite(CodeTypeItem item)
 {
     item.State   = "REG";
     item.RegDate = DateTime.Now;
     COD.Insert(item);
     return(Json(new { result = "success" }, JsonRequestBehavior.AllowGet));
 }