internal static IList <PRODUCT> FindProductListByIdHero(string argument) { using (IDalSearch dal = new DalSearch()) { int id = int.Parse(argument); return(dal.GetAllProductByIdHero(id)); } }
internal static IList <SPP_ProductTrans_Result> FindProductListByIdHero(string argument, string language) { using (IDalSearch dal = new DalSearch()) { int id = int.Parse(argument); int lang = LanguageBL.FindIdLanguageByShortForm(language); return(dal.GetAllProductByIdHero(id, lang)); } }