Question About NerdDinner Controller Constructors
<p>I've been looking at the Nerd Dinner app, more specifically how it handles its unit tests.</p>

<p>The following constructors for the RSVPController are confusing my slightly</p>

<pre><code>public RSVPController()
    : this(new DinnerRepository()) {
}

public RSVPController(IDinnerRepository repository) {
    dinnerRepository = repository;
}
</code></pre>

<p>From what I can tell the second one is used by the unit tests so it can use Fake repositories. What I cant work out is what the first constructor does. It doesn't seem to ever set the dinnerRepository variable, it seems to imply its inheriting from something but I really don't get it.</p>

<p>Can anyone explain?</p>

<p>Thanks</p>
