public ActionResult <Logs> Put(int id) { if (id == null) { return(NoContent()); } var result = logs.ArchiveLog(id); if (result == null) { return(NoContent()); } return(Ok("Log Arquivado")); }