public IActionResult SelecionarLog(int id)
 {
     try
     {
         return(Ok(_repository.SelecionarLog(id)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }