public UnitOfWork()
 {
     entities       = new TestEntities();
     BookRepository = new BooksRepository(entities);
 }
 public BooksRepository(TestEntities entities)
 {
     this.entities = entities;
 }