/// <summary> /// </summary> /// <param name="param"></param> /// <returns></returns> public ActionResult CheckPostNameExists(string postname, int postId, int deptId) { bool isExists = _postManager.CheckPostNameExists(postname, postId, deptId, CurrentTenant.TenantId); return(Json(!isExists, JsonRequestBehavior.AllowGet)); }