Exemplo n.º 1
0
 internal static IList <PRODUCT> FindProductListByIdBrand(string argument)
 {
     using (IDalSearch dal = new DalSearch())
     {
         int id = int.Parse(argument);
         return(dal.GetAllProductByIdBrand(id));
     }
 }
Exemplo n.º 2
0
 internal static IList <SPP_ProductTrans_Result> FindProductListByIdBrand(string argument, string language)
 {
     using (IDalSearch dal = new DalSearch())
     {
         int id   = int.Parse(argument);
         int lang = LanguageBL.FindIdLanguageByShortForm(language);
         return(dal.GetAllProductByIdBrand(id, lang));
     }
 }