public CreateCar(ICarBrandRepo carBrandRepo)
        {
            BrandList = new List <String>();

            foreach (var item in carBrandRepo.Read())
            {
                BrandList.Add(item.Name);
            }
        }
Beispiel #2
0
 public List <CarBrand> GetBrands()
 {
     return(_brandRepo.Read());
 }