예제 #1
0
 public Task <Auth> GetByLoginAsync(string login)
 {
     return(Queryable.SingleOrDefaultAsync(AuthExpression.Login(login)));
 }
예제 #2
0
 public Task <bool> AnyByLoginAsync(string login)
 {
     return(Queryable.AnyAsync(AuthExpression.Login(login)));
 }