Example #1
0
 internal static IList <SPP_ProductTrans_Result> FindAllProduct(string language)
 {
     using (IDalProduct dal = new DalProduct())
     {
         int lang;
         if (int.TryParse(language, out int codeL))
         {
             lang = codeL;
         }
         else
         {
             lang = LanguageBL.FindIdLanguageByShortForm(language);
         }
         return(dal.GetAllProduct(lang));
     }
 }