public Resource() { PathNoImage = "pack://application:,,,/WorldOfWords;component/Resources/Images/Image.png"; Theme = "pack://application:,,,/WorldOfWords;component/Themes/DarkTheme.xaml"; ThemePath = "pack://application:,,,/MahApps.Metro;component/Styles/Themes/Dark.Blue.xaml"; LanguagePath = "pack://application:,,,/WorldOfWords;component/Resources/LanguageEnglish.xaml"; Language = "English"; var dbc = new WorldOfWordsDbContext(); WordService = new WordService(dbc); ThemeService = new ThemeService(dbc); Level = new Level(); TrainDate = new TrainDate(); }
public WordService(WorldOfWordsDbContext context) { _context = context; }
public ThemeService(WorldOfWordsDbContext context) { _context = context; }