public int Calcular(IFamilia familia) { var pretendente = familia.Pretendente; var total = 0; total += RetornaPontosCasoOCriterioSejaAtendido(pretendente.ObterPontuacaoPorIdade()); total += RetornaPontosCasoOCriterioSejaAtendido(familia.ObterPontuacaoPorRendaFamiliar()); total += RetornaPontosCasoOCriterioSejaAtendido(familia.ObterPontuacaoPorQuantidadeDeDependentesValidos()); return(total); }
public void ContemplarFamilia(IFamilia familia) { throw new System.NotImplementedException(); }