public EmployerMainForm(DataService service, Employer employer) { this.service = service; this.employer = employer; this.appRepos = new ApplicantRepository(this.service); this.empRepos = new EmployerRepository(this.service); this.vacRepos = new VacancyRepository(this.service); this.resRepos = new ResumeRepository(this.service); this.reqRepos = new RequestRepository(this.service); this.vacancies = vacRepos.VacanciesByLogin(this.employer.Login); this.resumes = resRepos.ShownResumes(); this.requests = reqRepos.RequestsByEmployer(vacRepos, this.employer.Login); InitializeComponent(); }
private void UpdateResumesButton_Click(object sender, EventArgs e) { this.resumes = resRepos.ShownResumes(); this.FullfillResumesTable(); }