public async Task <ActionResult <Customer> > UpdateCustomer(int id, [FromBody] CustomerUpdate model) { Customer result = await customerFacade.Update(id, model); return(Ok(result)); }
public async Task <ActionResult <Customer> > UpdateCustomer(int id, [FromBody] CustomerUpdate model) { Customer result = await customerFacade.Update(id, model); return(Ok(result)); }