public HomeController() { _db = new ContactsDb(); }
public HomeController(IContactsDb db) { _db = db; }
public ContactRepository(IContactsDb db) { _db = db; }
public HomeController() { _db = new ContactsDb(); }
public HomeController(IContactsDb db) { _db = db; }
public ContactRepository(IContactsDb db) { _db = db; }