public ActionResult Create(Category category)
        {
            var User = Session["AdminLoginUser"] as User;

            category.CreateDateTime = DateTime.Now;
            category.CreateUserId   = User.Id;
            if (ModelState.IsValid)
            {
                db.Categories.Add(category);
                db.SaveChanges();
                _logClass.CategoryLog(category, "Ekleme");
                return(RedirectToAction("Index"));
            }
            ViewBag.UstKategoriList = db.Categories.ToList();
            return(View(category));
        }