예제 #1
0
        public async Task <ActionResult <Customer> > UpdateCustomer(int id, [FromBody] CustomerUpdate model)
        {
            Customer result = await customerFacade.Update(id, model);

            return(Ok(result));
        }