/// <summary> /// Initializes a new instance of the <see cref="LanguageResourceService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="iCommonMapper">The i common mapper.</param> public LanguageResourceService(ILanguageResourceRepository repository, ICommonMapper iCommonMapper) { _iLanguageResourceRepository = repository; _iCommonMapper = iCommonMapper; DefaultResourceCulture = "en-US"; }
/// <summary> /// Initializes a new instance of the <see cref="LanguageResourceService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="iCommonMapper">The i common mapper.</param> /// <param name="defaultResourceCulture">The default resource culture.</param> public LanguageResourceService(ILanguageResourceRepository repository, ICommonMapper iCommonMapper, string defaultResourceCulture) { _iLanguageResourceRepository = repository; DefaultResourceCulture = defaultResourceCulture; _iCommonMapper = iCommonMapper; }