Replaced IEnumerable with IQueryable for repo

IEnumerable seems to load everything into memory - that's bad.
IQueryable relies on the underlying DBMS - that's good.