public ActionResult SaveDicItem(DictionaryItemEntity dicItem, string loginName) { try { BaseSetBC bc = new BaseSetBC(); //根据DictionaryKey获取level var result = bc.SaveDicItem(dicItem, CurrentUserInfo.Account); if (result == 0) { return(Json(string.Empty)); } return(Json("保存成功")); } catch (Exception ex) { return(Json(string.Empty)); } }
public int SaveDicItem(DictionaryItemEntity dicItem, string loginName) { BaseSetDA da = new BaseSetDA(); return(da.SaveDicItem(dicItem, loginName)); }