public MainWindow() { InitializeComponent(); Context = new MalAppDBEntities(); AnimeList.DataContext = new AnimeListViewModel(Context); MangaList.DataContext = new MangaListViewModel(Context); }
public MangaListViewModel(MalAppDBEntities context) : base(context) { FillMangaList(); }
public BaseViewModel(MalAppDBEntities context) { Context = context; }
public AnimeListViewModel(MalAppDBEntities context) : base(context) { FillAnimeList(); }