public Task <IHttpActionResult> PostPhoneNumberAsync(int contactId, [FromBody] ContactPhoneNumberBindingModel model) { return(phoneNumberHandler.HandlePhoneNumberAsync <Contact>(model, this)); }
public Task <IHttpActionResult> PostPhoneNumberAsync(int personId, [FromBody] PersonPhoneNumberBindingModel model) { return(phoneNumberHandler.HandlePhoneNumberAsync <Person>(model, this)); }