Implements getAll method on repository and service classes