public DataTable GetProducts(string cartID) { CartDL cartDL = new CartDL(); DataTable cart = cartDL.GetProducts(cartID); for (int i = 0; i < cart.Rows.Count; i++) cart.Rows[i]["imageUrl"] = new ProductDL().createImageUrl(cart.Rows[i]["imageUrl"].ToString()); return cart; }
public DataTable GetProducts(string cartID) { CartDL cartDL = new CartDL(); return cartDL.GetProducts(cartID); }