public GenericRepository(VBooksDBContext ctx) { this.Db = ctx; }
public GenericRepository() { this.Db = new VBooksDBContext(); }