public ActionResult Index6(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Category> categories = CategoryDataContext.LoadCategories(id);

            return(Json(categories, JsonRequestBehavior.AllowGet));
        }
        //private Category db = new Category();

        // GET: Category
        public ActionResult Index(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Category> categories = CategoryDataContext.LoadCategories(id);

            return(View(categories));
        }
        // GET: Category
        public ActionResult Index()
        {
            List <Category> categories = CategoryDataContext.LoadCategories();

            return(View(categories));
        }