Create repository base for entity framework 6