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