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