public MainWindow()
 {
     InitializeComponent();
     Context = new MalAppDBEntities();
     AnimeList.DataContext = new AnimeListViewModel(Context);
     MangaList.DataContext = new MangaListViewModel(Context);
 }
 public MangaListViewModel(MalAppDBEntities context) : base(context)
 {
     FillMangaList();
 }
Пример #3
0
 public BaseViewModel(MalAppDBEntities context)
 {
     Context = context;
 }
 public AnimeListViewModel(MalAppDBEntities context) : base(context)
 {
     FillAnimeList();
 }