public ActionResult <LogsDTO> Get(int id) { var log = _logsService.LogsById(id); if (log != null) { var retorno = _mapper.Map <LogsDTO>(log); return(Ok(retorno)); } else { return(NoContent()); } }