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); }
public void AddVacancy(Vacancy vacancy) { vacancies.Add(vacancy); }