Exemplo n.º 1
0
        private void FillCarModel()
        {
            var repository = new CarModelRepository();

            repository.AddIfNotExist(new CarModel()
            {
                Name = "Opel"
            });
            repository.AddIfNotExist(new CarModel()
            {
                Name = "Nissan"
            });
            repository.AddIfNotExist(new CarModel()
            {
                Name = "Ford"
            });
            repository.AddIfNotExist(new CarModel()
            {
                Name = "KIA"
            });
        }