public EmployeeController(IEmployeeService employeeService, IEmployeeViewModelFactory employeeViewModelFactory,  INewRegistrationRequestService newRegistrationRequestService, IUserService userService)
 {
     _employeeService = employeeService;
     _employeeViewModelFactory = employeeViewModelFactory;
     _newRegistrationRequestService = newRegistrationRequestService;
     _userService = userService;
 }
 public EmployeeEmergencyContactController(
     IEmployeeEmergencyContactDetailService employeeEmergencyContactDetailService, 
     IEmployeeViewModelFactory employeeViewModelFactory,
     IViewEmergencyContactViewModelFactory viewEmergencyContactDetailViewModelFactory)
 {
     _employeeEmergencyContactDetailService = employeeEmergencyContactDetailService;
     _employeeViewModelFactory = employeeViewModelFactory;
     _viewEmergencyContactDetailViewModelFactory = viewEmergencyContactDetailViewModelFactory;
 }
        public EmployeeManagementViewModel([Import] IEmployeeRepository contextRepository, [Import] IEmployeeViewModelFactory employeeViewModelFactory,
                                           [Import] IGroupViewModelFactory groupViewModelFactory, [Import] ISettingsProvider settingsProvider)
        {
            m_Repository = contextRepository;
            m_EmployeeViewModelFactory   = employeeViewModelFactory;
            m_GroupViewModelFactory      = groupViewModelFactory;
            m_SettingsProvider           = settingsProvider;
            m_Repository.ContextChanged += (s, e) => Application.Current.Dispatcher.Invoke(Reload);
            m_Repository.SaveCompleted  += (s, e) => ShowInfoBox();

            Reload();
        }
Exemple #4
0
 public UserService(IUsersViewsModelFactory usersViewsModelFactory, ILookupRepository lookupRepository,
                    IEmailFactory emailFactory, IUsersRepository usersRepository, ISessionStateService session,
                    IEmployeeViewModelFactory employeeViewModelFactory, IEmployeeRepository employeeRepository,
                    IAccountRepository accountRepository, ICompanyRepository companyRepository, IDigitalFileRepository digitalFileRepository)
 {
     this.usersViewsModelFactory   = usersViewsModelFactory;
     this.usersViewsModelFactory   = usersViewsModelFactory;
     this.employeeViewModelFactory = employeeViewModelFactory;
     this.lookupRepository         = lookupRepository;
     this.emailFactory             = emailFactory;
     this.usersRepository          = usersRepository;
     this.employeeRepository       = employeeRepository;
     this.accountRepository        = accountRepository;
     this.session               = session;
     this.companyRepository     = companyRepository;
     this.digitalFileRepository = digitalFileRepository;
 }