private void CreateCollections()
        {
            InitializeUsers();
            return;

            var city = new City() {
                CityId = 1,
                CityName = "Sarajevo",
                PostalCode = "71000",
                Country = "BiH"
            }; var city2 = new City() {
                CityId = 2,
                CityName = "Houston",
                PostalCode = "77077",
                Country = "USA"
            };

            var cityRep = new CityRep();
            cityRep.Add(city);
            cityRep.Add(city2);


            var job = new Job() {
                JobId = 1,
                Description = "Software Developer"
            };
            var jobRep = new JobRep();
            jobRep.Save(job);


            var company = new Company() {
                CompanyId = 1,
                CompanyName = "Mistral Technologies"
            };
            var companyRep = new CompanyRep();
            companyRep.Save(company);



        }
Esempio n. 2
0
 public void Save(Job item)
 {
     Job.Add(item);
 }