Example #1
0
 public static Dictionary <string, string> GetLanguageData(string code)
 {
     try
     {
         Dictionary <string, string> data = factory.GetLanguageData(code);
         if (data == null || data.Count == 0)
         {
             throw new Exception("DAL.Common.LanguageFactory.GetLanguageData()==null");
         }
         return(data);
     }
     catch (Exception ex)
     {
         LogHelper.WriteLog(new Log()
         {
             message = ex.Message
         }, "LangaugeData");
         return(null);
     }
 }