public IActionResult Create(Category category)
        {
            if (ModelState.IsValid)
            {
                return RedirectToAction("Index");
            }

            return View(category);
        }
        public ViewResult Index()
        {
            var categories = new Category[0];

            return View(categories);
        }
 public IActionResult Edit(string id)
 {
     var category = new Category();
     return View(category);
 }