Example #1
0
 /// <summary>
 /// 检查项目信息信息是否存在
 /// </summary>
 /// <param name="predicate">检查谓语表达式</param>
 /// <param name="id">更新的项目信息编号</param>
 /// <returns>项目信息是否存在</returns>
 public Task <bool> CheckCodeProjectExists(Expression <Func <CodeProject, bool> > predicate, Guid id = default)
 {
     return(ProjectRepository.CheckExistsAsync(predicate, id));
 }