public static ShoppingCart GetCart(HttpContextBase context)
        {
            var cart = NinjectMVC3.GetKernel().Get <ShoppingCart>();

            cart.ShoppingCartId = cart.GetCartId(context);
            return(cart);
        }
        protected void Application_Start()
        {
            NinjectMVC3.GetKernel().Get <SampleData>().Seed();
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
        protected void Application_Start()
        {
//            System.Data.Entity.Database.SetInitializer(new MvcMusicStore.Models.SampleData());
            NinjectMVC3.GetKernel().Get <SampleData>().Seed();

            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }