public ActionResult Edit(Category category)
        {
            if (ModelState.IsValid)
            {
                db.Entry(category).State = EntityState.Modified;
                db.SaveChanges();

                // Notification frontend to edit category
                hubContext.Clients.All.editInformationCategory(category);

                return RedirectToAction("Index");
            }
            return View(category);
        }
        public ActionResult Create(Category category)
        {
            if (ModelState.IsValid)
            {
                db.Categories.Add(category);
                db.SaveChanges();

                // Notification frontend to add category
                hubContext.Clients.All.addInformationCategory(category);

                return RedirectToAction("Index");
            }

            return View(category);
        }