using the generic repository for all repositories