public HttpResponseMessage PostCustomer(Customer customer)
 {
     try
     {
         var customerAdded = _repository.InsertCustomer(customer);
         return(Request.CreateResponse <Customer>(HttpStatusCode.OK, customerAdded));
     }
     catch (Exception ex)
     {
         return(Request.CreateResponse(HttpStatusCode.NotFound, ex));
     }
 }