public void Visit(Gerente gerente) { //Lógica para buscar o valor do gerente TotalEmCaixaDaEmpresa += gerente.ValorParaAprovacao; }
public void Visit(Gerente gerente) { TotalEmContratos += gerente.Contratos.Sum(c => c.Valor); }
public void Visit(Gerente gerente) { //Lógica para buscar o valor do gerente TotalEmCaixaDaEmpresa += gerente.ValorParaAprovacao; }
public void Visit(Gerente gerente) { TotalEmContratos += gerente.Contratos.Sum(c => c.Valor); }