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