public IActionResult Get() { try { return(Ok(app.GetAll())); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public void Get() { var lancamentos = app.GetAll(); Assert.True(lancamentos.Count() > 0); }
public IActionResult Get() { try { return(Ok(app.GetAll())); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public void Get() { var lancamentos = app.GetAll(); Assert.True(lancamentos.Count() > 0); }