public ActionResult IsExistDeptName(int id, string deptName) { return(Json(!_deptRep.Any(q => q.Id != id && q.DeptName == deptName))); }