public void ContactPhoneNumber(int id, [FromBody] PhoneNumber phoneNumber) { addressBookService.AddNewPhoneNumberToContact(id, phoneNumber); context.SaveChanges(); }
public void ContactPhoneNumber(int id, [FromBody] PhoneNumber phoneNumber) { addressBookService.AddNewPhoneNumberToContact(id, phoneNumber); context.SaveChanges(); }