/// <summary> /// 检查数据库是否存在此角色 /// </summary> /// <param name="roleId"></param> /// <returns></returns> public bool CheckExistsRole(int roleId) { return(rolePermissionRepository.CheckExistsRole(roleId)); }