public string Get()
        {
            // var repo = new GenericRepository<Customer>(new AppDbContext());

            // return _repo.All().FirstOrDefault().FirstName;
            return(JsonConvert.SerializeObject(_orderingService.GetProductList().FirstOrDefault()));
        }
        public ShoppingViewModel Index()
        {
            var products = _service.GetProductList();
            var svm      = BuildCartViewModelFromProductListAndTempData
                               (10, 1, products);

            // ViewBag.CartCount = svm.CartCount;
            return(svm);
        }