public IActionResult Exibir(int codigo) { try { return(new ObjectResult(_compra.ExibirCompras(codigo))); } catch (Exception e) { return(new ObjectResult(e.Message)); } }
public IActionResult Exibir(int codigo) { try { return(new ObjectResult(_compra.ExibirCompras(codigo))); } catch (Exception e) { return(new ObjectResult(e.Message)); } }