public ActionResult Edit(int idJenisTani, string namaJenisTani)
        {
            if ((bool)Session["Login"])
            {
                try
                {
                    MetaniContext context = new MetaniContext();
                    context.EditJenisTani(idJenisTani, namaJenisTani);

                    return(RedirectToAction("Index"));
                }
                catch
                {
                    return(RedirectToAction("Create"));
                }
            }

            return(RedirectToAction("Login", "Admin"));
        }