public Notafiscal Criar() { var nf = new Notafiscal(this.RazaoSocial, this.Cnpj, this.ValorTotal, this.ValorImpostos, this.Observacoes,this.Itens,this.DataEmissao); foreach (var item in acoes) { item.Executa(nf); } return nf; }
public Notafiscal Criar() { var nf = new Notafiscal(this.RazaoSocial, this.Cnpj, this.ValorTotal, this.ValorImpostos, this.Observacoes, this.Itens, this.DataEmissao); foreach (var item in acoes) { item.Executa(nf); } return(nf); }