Ejemplo n.º 1
0
 protected void PreencherInformacoesDeAuditoria(EntidadeBasicaPorId entidade)
 {
     entidade.Auditoria.UsuarioAuditoria = ObterCpfDoUsuarioLogado();
     entidade.Auditoria.DataAuditoria    = DateTime.Now;
 }
Ejemplo n.º 2
0
 protected void PreencherInformacoesDeAuditoria(EntidadeBasicaPorId entidade, string cpfUsuarioLogado)
 {
     entidade.Auditoria.UsuarioAuditoria = cpfUsuarioLogado;
     entidade.Auditoria.DataAuditoria    = DateTime.Now;
 }