// POST api/Customer public HttpResponseMessage Post([FromBody] Customer value) { if (null != value) { return(Request.CreateResponse <Customer>(HttpStatusCode.Created, _UsuarioServicio.Insert(value))); } return(Request.CreateResponse <Customer>(HttpStatusCode.NotFound, value)); }
public Customer Add(Customer customer) { return(_usuarioServicio.Insert(customer)); }