Refactoring to generic repository done. Maybe good idea to move disposal to the interface for unit of work.