Exemplo n.º 1
0
 internal static IList <CATEGORY> FindCatsParentList()
 {
     using (IDalSearch dal = new DalSearch())
     {
         return(dal.GetAllCats());
     }
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 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));
     }
 }