public void SaveAll() { MoviesViewModel.Save(); SerialsViewModel.Save(); GamesViewModel.Save(); BooksViewModel.Save(); }
public void SaveUnsaved() { if (MoviesViewModel.NeedSave) { MoviesViewModel.Save(); } if (SerialsViewModel.NeedSave) { SerialsViewModel.Save(); } if (BooksViewModel.NeedSave) { BooksViewModel.Save(); } if (GamesViewModel.NeedSave) { GamesViewModel.Save(); } }