All I am trying to find out the correct definition of the repository pattern.
My original understanding was this (extremely dumbed down)
From Martin Fowler "Patterns of Enterprise Application Architecture", the definition of the Repository Pattern is:
Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.
So, both approaches are correct.