static public void InitializationObjects() { context = new VocabularyContext(); wordRepository = new WordRepository(context); contextualRepository = new ContextualRepository(context); examplesRepository = new ExamplesRepository(context); }
public ExamplesRepository(VocabularyContext context) { this.context = context; RefreshContext(); }
public WordRepository(VocabularyContext context) { this.context = context; RefreshContext(); }