Exemplo n.º 1
0
 public void OnInternCreation(Intern intern)
 {
     var a = intern;
     var b = new HollidayPrivilege(a);
     b.AddPrivilege();
     _displayInfoAction.DisplayInfo(intern);
     //intern.DisplayAll();
 }
Exemplo n.º 2
0
        public void OnInternCreation(Intern intern)
        {
            var a = intern;
            var b = new HollidayPrivilege(a);

            b.AddPrivilege();
            _displayInfoAction.DisplayInfo(intern);
            //intern.DisplayAll();
        }
Exemplo n.º 3
0
 public void OnContractorCreation(Contractor contractor)
 {
     var a = contractor;
     IPrivileges b = new HollidayPrivilege(a);
     b.AddPrivilege();
     IPrivileges d = new SalaryBonusPrivilege(a);
     d.AddPrivilege();
     _displayInfoAction.DisplayInfo(contractor);
     //contractor.DisplayAll();
 }
Exemplo n.º 4
0
        public void OnContractorCreation(Contractor contractor)
        {
            var         a = contractor;
            IPrivileges b = new HollidayPrivilege(a);

            b.AddPrivilege();
            IPrivileges d = new SalaryBonusPrivilege(a);

            d.AddPrivilege();
            _displayInfoAction.DisplayInfo(contractor);
            //contractor.DisplayAll();
        }
Exemplo n.º 5
0
 public void OnEmployeeCreation(Employee employee)
 {
     var a = employee;
     IPrivileges b = new HollidayPrivilege(a);
     b.AddPrivilege();
     b = new LunchTichetsPrivilege(a);
     b.AddPrivilege();
     b = new SalaryBonusPrivilege(a);
     b.AddPrivilege();
     _displayInfoAction.DisplayInfo(employee);
     //employee.DisplayAll();
 }
Exemplo n.º 6
0
        public void OnEmployeeCreation(Employee employee)
        {
            var         a = employee;
            IPrivileges b = new HollidayPrivilege(a);

            b.AddPrivilege();
            b = new LunchTichetsPrivilege(a);
            b.AddPrivilege();
            b = new SalaryBonusPrivilege(a);
            b.AddPrivilege();
            _displayInfoAction.DisplayInfo(employee);
            //employee.DisplayAll();
        }