void IContactRepository.AddContact(Contact c) { contactDB.Contacts.Add(c); contactDB.SaveChanges(); }
void IAddressRepository.AddAddress(Contact contact, Address address) { contact.Address.Add(address); address.Contact = contact; addressDB.SaveChanges(); }