public Task <UserModel> GetByIdAsync(long id)
 {
     return(Queryable.Where(UserExpression.Id(id)).Select(UserExpression.Model).SingleOrDefaultAsync());
 }
 public Task <UserModel> GetByLoginAsync(string email)
 {
     return(Queryable.Where(UserExpression.Email(email)).Select(UserExpression.Model).SingleOrDefaultAsync());
 }
 public Task <long> GetAuthIdByUserIdAsync(long id)
 {
     return(Queryable.Where(UserExpression.Id(id)).Select(UserExpression.AuthId).SingleOrDefaultAsync());
 }