Ejemplo n.º 1
0
        public IProfileContract BuildProfile(Period period)
        {
            IContractEmploy employContract = EmployHistory.ResolveContract(period);
            IContractTaxing taxingContract = TaxingHistory.ResolveContract(period);
            IContractHealth healthContract = HealthHistory.ResolveContract(period);
            IContractSocial socialContract = SocialHistory.ResolveContract(period);

            return(new ProfileContract(period, employContract, taxingContract, healthContract, socialContract));
        }
Ejemplo n.º 2
0
        public ProfileContract(Period period,
                               IContractEmploy employ,
                               IContractTaxing taxing,
                               IContractHealth health,
                               IContractSocial social)
        {
            __Period = period;

            __Employ = employ;

            __Taxing = taxing;

            __Health = health;

            __Social = social;
        }