protected void Page_Load(object sender, EventArgs e)
 {
     _userSession = ObjectFactory.GetInstance<IUserSession>();
     HandleLanguage();
     products = LoadDefault();
 }
Exemplo n.º 2
0
 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;
 }