public ActionResult <LogsDTO> Put([FromBody] LogsDTO logs) { var value = _mapper.Map <Logs>(logs); var log = _logsService.Atualizar(value); if (log != null) { var retorno = _mapper.Map <LogsDTO>(log); return(Ok(log)); } else { return(NoContent()); } }