Add GetByIds method