예제 #1
0
        public Vacancy CreateVacancy(string vacancyName, string city, int minAge, int maxAge, DateTime startTime, DateTime endTime, int salary, int experience, string email, string jobDetails, string requirements)
        {
            Vacancy vacancy = new Vacancy
            {
                VacancyName  = vacancyName,
                City         = city,
                MinAge       = minAge,
                MaxAge       = maxAge,
                StartTime    = startTime,
                EndTime      = endTime,
                Salary       = salary,
                Experience   = experience,
                Email        = email,
                JobDetails   = jobDetails,
                Requirements = requirements
            };

            return(vacancy);
        }
예제 #2
0
 public void AddVacancy(Vacancy vacancy)
 {
     vacancies.Add(vacancy);
 }