protected void Page_Load(object sender, EventArgs e) { _userSession = ObjectFactory.GetInstance<IUserSession>(); HandleLanguage(); products = LoadDefault(); }
public YourCarts(Product i, int sl) { item = i; Soluong=sl; }
public Product LoadDefault() { int annID = GetAnnID(); Product ann = new Product(); if (annID > 0) { ann = Product.Single(annID); } return ann; }