diff --git a/cat_cafe/Controllers/CustomersController.cs b/cat_cafe/Controllers/CustomersController.cs index cc63bcc..e2a5b21 100644 --- a/cat_cafe/Controllers/CustomersController.cs +++ b/cat_cafe/Controllers/CustomersController.cs @@ -61,7 +61,7 @@ namespace cat_cafe.Controllers + this.Response.StatusCode.ToString() + " " + customer.GetType().ToString() + " " + JsonConvert.SerializeObject(customer).ToString()); - return _mapper.Map(customer); + return Ok(_mapper.Map(customer)); } // PUT: api/Customers/5