public IHttpActionResult buscaSaidaPorIdEmpresa(int idEmpresa) { try { SaidaBLL bll = new SaidaBLL(); return(Ok(bll.getSaidaByEmpresa(idEmpresa))); } catch (Exception ex) { UtilBLL util = new UtilBLL(); return(Ok(util.getRetornoSaidaException(ex))); } }
public IHttpActionResult buscaTodasSaidas() { try { SaidaBLL bll = new SaidaBLL(); return(Ok(bll.getTodasSaidas())); } catch (Exception ex) { UtilBLL util = new UtilBLL(); return(Ok(util.getRetornoSaidaException(ex))); } }