Exemple #1
0
        public static void Initialize(ISettingRepository repository)
        {
            var dicSettings = repository.FindAll();

            InitConstants(dicSettings);

            var lstAddressSetting = repository.FindAllControlTitlesByLanguage(SettingsData.Language);

            InitControls(lstAddressSetting);
        }
 public ResponseMessageSetting FindAllControlTitlesByLanguage(int iLanguageId)
 {
     using (_repository)
     {
         return(new ResponseMessageSetting
         {
             LstControls = _repository.FindAllControlTitlesByLanguage(iLanguageId),
             IsSuccess = true,
             Message = String.Empty
         });
     }
 }