예제 #1
0
        public ActionResult <Customer> Create(Customer customer)
        {
            _customerService.Create(customer);

            return(CreatedAtRoute("GetCustomer", new { id = customer.Id.ToString() }, customer));
        }