Ejemplo n.º 1
0
        public IActionResult Post([FromBody] Customer value)
        {
            var locationUri = $"http://localhost:9091/api/Customers/{value.CustomerId}";

            return(Created(locationUri, _sampleContext.AddCustomer(value)));
        }