/// <summary> /// 检查用户角色信息信息是否存在 /// </summary> /// <param name="predicate">检查谓语表达式</param> /// <param name="id">更新的用户角色信息编号</param> /// <returns>用户角色信息是否存在</returns> public Task <bool> CheckUserRoleExists(Expression <Func <UserRole, bool> > predicate, Guid id = default(Guid)) { return(UserRoleRepository.CheckExistsAsync(predicate, id)); }