Example #1
0
 public IActionResult Get()
 {
     try
     {
         return(Ok(app.GetAll()));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }
Example #2
0
        public void Get()
        {
            var lancamentos = app.GetAll();

            Assert.True(lancamentos.Any());
        }