public ProjectController() { string connectionString = Settings.GetStringDB(); _localizationProjectRepository = new LocalizationProjectRepository(connectionString); _localizationProjectsLocalesRepository = new LocalizationProjectsLocalesRepository(connectionString); _localeRepository = new LocaleRepository(connectionString); _userActionRepository = new UserActionRepository(connectionString); ur = new UserRepository(connectionString); _participantsRepository = new ParticipantRepository(connectionString); _roleRepository = new RoleRepository(connectionString); }
public ReadWriteFileController() { string connectionString = Settings.GetStringDB(); _localizationProjectRepository = new LocalizationProjectRepository(connectionString); _localeRepository = new LocaleRepository(connectionString); _translationRepository = new TranslationRepository(connectionString); _translationSubstringRepository = new TranslationSubstringRepository(connectionString); _IXmlNodeExtensions = new IXmlNodeExtensions(connectionString); _glossaryRepository = new GlossaryRepository(connectionString); _partOfSpeechRepository = new PartOfSpeechRepository(connectionString); }