public IActionResult Recover([FromRoute] Guid id) { try { return(Ok(_lancamentoService.RecoverById(id))); } catch (ArgumentException ex) { return(NotFound(ex)); } catch (Exception ex) { return(BadRequest(ex)); } }
public IActionResult Recover([FromRoute] Guid id) { try { return(Ok(_lancamentoService.RecoverById(id))); } catch (ArgumentException ex) { return(NotFound(ex)); } catch (Exception ex) { return(BadRequest(ex)); } }