public IHttpActionResult buscarEmpresa(int ema001001id) { var ema001001 = new Emtba001001(); ema001001 = ema001001.buscar(ema001001id); return(Ok(ema001001)); }
public IHttpActionResult buscarEmpresas() { var ema001001 = new Emtba001001(); var lEma001001 = ema001001.buscarLista(); return(Ok(lEma001001)); }
public IHttpActionResult deletarEmpresa(int idEma001001) { var ema001001 = new Emtba001001(); ema001001.deletar(idEma001001); return(Ok("ok")); }
public IHttpActionResult alterarEmpresa([FromBody] Emtba001001 pEma001001) { var ema001001 = new Emtba001001(); ema001001.alterar(pEma001001); return(Ok("ok")); }