public ActionResult DeleteConfirmed(int id)
        {
            JewelryCategories jewelryCategories = db.JewelryCategories.Find(id);

            db.JewelryCategories.Remove(jewelryCategories);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult Create([Bind(Include = "Id,Name")] JewelryCategories jewelryCategories)
        {
            if (ModelState.IsValid)
            {
                db.JewelryCategories.Add(jewelryCategories);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(jewelryCategories));
        }
        // GET: JewelryCategories/Edit/5
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            JewelryCategories jewelryCategories = db.JewelryCategories.Find(id);

            if (jewelryCategories == null)
            {
                return(HttpNotFound());
            }
            return(View(jewelryCategories));
        }