예제 #1
0
        public AddOpeningViewModel(ICompanyService companyService, IQualificationsService qualificationsService, IOpeningsService openingsService, IJobService jobService)
        {
            JobService            = jobService;
            QualificationsService = qualificationsService;
            CompanyService        = companyService;
            OpeningsService       = openingsService;

            Messenger.Default.Register <LoadAddOpeningViewMessage>(this, s => NotifyMe(s));
        }
예제 #2
0
 public CandidateQualifiedForOpeningViewModel(ICandidateService candidateService, IOpeningsService openingService, IPlacementService placementService, IJobHistoryService jobHistoryService, IJobHistoryCompanyService jobHistoryCompanyService, IJobHistoryJobService jobHistoryJobService)
 {
     CandidateService         = candidateService;
     OpeningsService          = openingService;
     PlacementService         = placementService;
     JobHistoryService        = jobHistoryService;
     JobHistoryCompanyService = jobHistoryCompanyService;
     JobHistoryJobService     = jobHistoryJobService;
     Messenger.Default.Register <ViewQualifiedCandidatesForOpeningViewMessage>(this, LoadCandidatesQualifiedForOpening);
 }
예제 #3
0
 public OpeningsView_ViewModel(IOpeningsService openingsService)
 {
     OpeningsService = openingsService;
     Messenger.Default.Register <LoadOpeningsViewMessage>(this, s => NotifyMe(s));
 }
예제 #4
0
 public CandidateServiceTest()
 {
     TecAppContext    = new TecAppContext();
     OpeningsService  = new OpeningsService.OpeningsService(TecAppContext);
     CandidateService = new EmployeeService.CandidateService(TecAppContext);
 }