public IActionResult Cadastrar([FromBody] Logs logs)
 {
     try
     {
         return(Ok(_repository.Cadastrar(logs)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }