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