public IActionResult Post([FromRoute] int customerId, [FromBody] Move move) { var customer = CustomerRepository.Get(customerId); customer.Street = move.Street; customer.City = move.City; customer.ZipCode = move.ZipCode; customer.Country = move.Country; CustomerRepository.AddMove(customerId, move); return(new CreatedAtRouteResult("GETCUSTOMER", new { id = customerId }, null)); }