public ShoppingCartController(DataManager dataManager)
     : base(dataManager)
 {
 }
 public static ShoppingCart GetCart(HttpContextBase context, DataManager dataManager)
 {
     var cart = new ShoppingCart(dataManager);
     cart.ShoppingCartId = cart.GetCartId(context);
     return cart;
 }
 public static ShoppingCart GetCart(Controller controller, DataManager dataManager)
 {
     return GetCart(controller.HttpContext,dataManager);
 }
 private ShoppingCart(DataManager dataManager)
 {
     DataManager = dataManager;
 }
 public AccountController(DataManager dataManager) :base (dataManager)
 {
 }
 public CheckoutController(DataManager dataManager)
     : base(dataManager)
 {
 }
 public BaseController(DataManager dataManager)
 {
     DataManager = dataManager;
 }
 //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)
 {
 }