I don't understand why the author inherits from ProductRepository and also injects ProductRepository via the constructor, in the listing below. Could he not have just done one or the other? E.g. base.SelectProduct(id) would be equivalent to - and more concise than - this.innerRepository.SelectProduct(id).
Share this highlighthttp://www.safaribooksonline.com/a/dependency-injection-in/7320292/