Пример #1
0
        protected override ILanguageTranslateService RealCreate()
        {
            //throw new Exception();
            IPAWebResourceRepository paWebResourceRepository  = PAWebResourceRepositoryFactory.Get();
            IConfigurationService    configurationService     = ConfigurationServiceFactory.Get();
            LanguageTranslateService languageTranslateService = new LanguageTranslateService(paWebResourceRepository, configurationService);

            return(languageTranslateService);
        }
Пример #2
0
 public LanguageTranslateService(IPAWebResourceRepository paWebResourceRepository, IConfigurationService configurationService)
 {
     _paWebResourceRepository = paWebResourceRepository;
     _configurationService    = configurationService;
 }