/// <summary> /// 获取职位名称 /// </summary> /// <param name="mkid">职位分类id major_kind_id</param> /// <returns></returns> public ActionResult GetAllMajorName(string mkid) { if (mkid != null && mkid.Length != 0) { IBLL.IConfigMajorBll ConfigMajorBll = IocContainer.IocCreate.CreateBll <IBLL.IConfigMajorBll>("ConfigMajorBll"); List <Entity.config_major> list = ConfigMajorBll.GetAllMajorName(mkid); return(Json(list, JsonRequestBehavior.AllowGet)); } return(Content("{'msg':'mkid不能为空'}")); }
/// <summary> /// 获取职位分类 /// </summary> /// <returns></returns> public ActionResult GetAllMajorKindName() { IBLL.IConfigMajorBll ConfigMajorBll = IocContainer.IocCreate.CreateBll <IBLL.IConfigMajorBll>("ConfigMajorBll"); return(Json(ConfigMajorBll.GetAllMajorKindName(), JsonRequestBehavior.AllowGet)); }