public static ItemCommonInfo GetItemInfoFromSKU(string SKU, AspxCommonInfo aspxCommonObj) { try { ItemCommonInfo lstItem = AspxCommonProvider.GetItemInfoFromSKU(SKU, aspxCommonObj); return(lstItem); } catch (Exception e) { throw e; } }
public static ItemCommonInfo GetItemInfoFromSKU(string SKU, AspxCommonInfo aspxCommonObj) { try { List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSP(aspxCommonObj); parameter.Add(new KeyValuePair <string, object>("@SKU", SKU)); SQLHandler sqlH = new SQLHandler(); ItemCommonInfo lstItem = sqlH.ExecuteAsObject <ItemCommonInfo>("usp_Aspx_GetItemInfoFromSKU", parameter); return(lstItem); } catch (Exception e) { throw e; } }