public async Task <ActionResult <List <Object> > > Get()
        {
            var list = new List <Object>();

            list = new List <Object>(await _calculoHistoricoLogRepository.List());


            return(list);
        }
Exemple #2
0
 public async Task <IActionResult> ListarHistoricosLog()
 {
     try
     {
         var result = _calculoHistoricoLogRepository.List();
         return(await Response(result));
     }
     catch (Exception ex)
     {
         return(BadRequest(new
         {
             success = false,
             errors = ex.Message
         }));
     }
 }