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