Fix issue for concurent access in MemoryRepository
Add BulkInsert() in IRepository