public ShoppingCartController(DataManager dataManager)
     : base(dataManager)
 {
 }
Ejemplo n.º 2
0
 public static ShoppingCart GetCart(HttpContextBase context, DataManager dataManager)
 {
     var cart = new ShoppingCart(dataManager);
     cart.ShoppingCartId = cart.GetCartId(context);
     return cart;
 }
Ejemplo n.º 3
0
 public static ShoppingCart GetCart(Controller controller, DataManager dataManager)
 {
     return GetCart(controller.HttpContext,dataManager);
 }
Ejemplo n.º 4
0
 private ShoppingCart(DataManager dataManager)
 {
     DataManager = dataManager;
 }
 public AccountController(DataManager dataManager) :base (dataManager)
 {
 }
 public CheckoutController(DataManager dataManager)
     : base(dataManager)
 {
 }
Ejemplo n.º 7
0
 public BaseController(DataManager dataManager)
 {
     DataManager = dataManager;
 }
Ejemplo n.º 8
0
 //public JsonResult AutoCompleteCountry(string term)
 //{
 //    var result = (from r in DataManager.Products.GetAll()
 //                  where r.Name.ToLower().Contains(term.ToLower())
 //                  select new { Name = r.Name, Value = r.Id }).ToList();
 //    return Json(result, JsonRequestBehavior.AllowGet);
 //}
 public StoreController(DataManager dataManager)
     : base(dataManager)
 {
 }