public void GravarFimControleDeQualidade(int pacoteProcessadoId, StatusPacote novoStatus)
 {
     this.Session
     .CreateQuery("update PacoteProcessado set StatusPacote = :novoStatus, FimRecepcao = sysdate where Id = :id")
     .SetParameter("novoStatus", novoStatus)
     .SetParameter("id", pacoteProcessadoId)
     .ExecuteUpdate();
 }
 public void AlterarStatus(int pacoteProcessadoId, StatusPacote novoStatus)
 {
     this.Session
     .CreateQuery("update PacoteProcessado set StatusPacote = :novoStatus where Id = :id")
     .SetParameter("novoStatus", novoStatus)
     .SetParameter("id", pacoteProcessadoId)
     .ExecuteUpdate();
 }
 public void AtualizarStatus(int id, StatusPacote statusPacote)
 {
     this.Session
     .CreateQuery("update PacoteProcessado set StatusPacote = :status where Id = :id")
     .SetInt32("id", id)
     .SetParameter("status", statusPacote)
     .ExecuteUpdate();
 }