Beispiel #1
0
 internal static IList <CATEGORY> FindCatsParentList()
 {
     using (IDalSearch dal = new DalSearch())
     {
         return(dal.GetAllCats());
     }
 }
Beispiel #2
0
 internal static IList <SPP_ParentCategoriesTransDistinct_Result> FindCatsParentList(string language)
 {
     using (IDalSearch dal = new DalSearch())
     {
         int lang = LanguageBL.FindIdLanguageByShortForm(language);
         return(dal.GetAllCats(lang));
     }
 }
Beispiel #3
0
 internal static IList <SPP_ChildCategoriesOfParent_Result> FindCatsChildList(string argument, string language)
 {
     using (IDalSearch dal = new DalSearch())
     {
         int id   = int.Parse(argument);
         int lang = LanguageBL.FindIdLanguageByShortForm(language);
         return(dal.GetAllCats(id, lang));
     }
 }