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