public IHttpActionResult Put(Productos producto) { try { var mng = new ProductosManager(); mng.Update(producto); apiResp = new ApiResponse(); apiResp.Message = "Action was executed."; return(Ok(apiResp)); } catch (BussinessException bex) { return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message))); } }