Пример #1
0
 /// <summary>
 /// 验证是否存在该用户数据
 /// </summary>
 /// <param name="email"></param>
 /// <returns></returns>
 public async Task <bool> ExistUserAsync(string email)
 {
     return(await SysUserDao.ExistAsync <SysUser>(c => c.Email == email && c.State == 1));
 }