public Task <UserModel> GetModelAsync(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()); }