public async Task <ActionResult <CustomerContext> > AddCustomerContact([FromRoute] int id, [FromBody] AddCustomerContactRequestModel request) { return(await _contactService.AddCustomerContact(id, request.Address, request.Phone)); }
public async Task <ActionResult <CustomerContext> > AddCustomerContact([FromRoute] int id, [FromBody] AddCustomerContactRequestModel request) { return(await _contactService.AddCustomerContact(id, request.Address, request.Phone)); }