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