Beispiel #1
0
        public ImportUI()
        {
            incentiveRepository        = EntityContainer.GetType <IIncentiveRepository>();
            employeeRepository         = EntityContainer.GetType <IEmployeeRepository>();
            absenceRepository          = EntityContainer.GetType <IAbsenceRepository>();
            overTimeRepository         = EntityContainer.GetType <IOverTimeRepository>();
            branchRepository           = EntityContainer.GetType <IBranchRepository>();
            departmentRepository       = EntityContainer.GetType <IDepartmentRepository>();
            gradeRepository            = EntityContainer.GetType <IGradeRepository>();
            occupationRepository       = EntityContainer.GetType <IOccupationRepository>();
            principalRepository        = EntityContainer.GetType <IPrincipalRepository>();
            insuranceProgramRepository = EntityContainer.GetType <IInsuranceProgramRepository>();


            employeeDepartmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>();
            employeeGradeRepository      = EntityContainer.GetType <IEmployeeGradeRepository>();
            employeeOccupationRepository = EntityContainer.GetType <IEmployeeOccupationRepository>();
            employeePrincipalRepository  = EntityContainer.GetType <IEmployeePrincipalRepository>();
            employeeStatusRepository     = EntityContainer.GetType <IEmployeeStatusRepository>();
            employeeInsuranceRepository  = EntityContainer.GetType <IEmployeeInsuranceRepository>();
            employeeSalaryRepository     = EntityContainer.GetType <IEmployeeSalaryRepository>();


            InitializeComponent();
        }
Beispiel #2
0
        public PrincipalUI(MainUI frmMain)
        {
            InitializeComponent();
            this.frmMain = frmMain;

            principalRepository  = EntityContainer.GetType <IPrincipalRepository>();
            userAccessRepository = EntityContainer.GetType <IUserAccessRepository>();
        }
Beispiel #3
0
 public PrincipalUI()
 {
     InitializeComponent();
     principalRepository  = EntityContainer.GetType <IPrincipalRepository>();
     userAccessRepository = EntityContainer.GetType <IUserAccessRepository>();
 }
Beispiel #4
0
 public PrincipalService(IPrincipalRepository principalRepository, IBlogRepository blogRepository, IMapper mapper)
 {
     this.principalRepository = principalRepository;
     this.blogRepository      = blogRepository;
     this.mapper = mapper;
 }