Пример #1
0
        public MainWindowViewModel()
        {
            ApplicationDbContext context = ConfigurationHelpers.GetContext(ConfigurationHelpers.GetConfiguration());
            ICarRepo             carRepo = new CarRepo(context);

            Cars = new ObservableCollection <Car>(carRepo.GetAllIgnoreQueryFilters());
        }