protected void PreencherInformacoesDeAuditoria(EntidadeBasicaPorId entidade) { entidade.Auditoria.UsuarioAuditoria = ObterCpfDoUsuarioLogado(); entidade.Auditoria.DataAuditoria = DateTime.Now; }
protected void PreencherInformacoesDeAuditoria(EntidadeBasicaPorId entidade, string cpfUsuarioLogado) { entidade.Auditoria.UsuarioAuditoria = cpfUsuarioLogado; entidade.Auditoria.DataAuditoria = DateTime.Now; }