public IHttpActionResult empresaDelete([FromBody] int id) { try { EmpresaBLL bll = new EmpresaBLL(); return(Ok(bll.deleteEmpresa(Convert.ToInt32(id)))); } catch (Exception ex) { UtilBLL util = new UtilBLL(); return(Ok(util.getRetornoException(ex))); } }