public int InsertData(CapNganhNghe ob) { db.CapNganhNghes.Add(ob); return(db.SaveChanges()); }
public JsonResult InsertData(CapNganhNghe ob) { var data = model.InsertData(ob); return(Json(data, JsonRequestBehavior.AllowGet)); }
public int InsertData(CapNganhNghe ob) { db.CapNganhNghes.Add(ob); return(db.SaveChanges()); }
public JsonResult InsertData(CapNganhNghe ob) { var data = model.InsertData(ob); return(Json(data, JsonRequestBehavior.AllowGet)); }