public ActionResult Edit(int idLokasi, string kecamatan, string kabupaten, string provinsi, int kodepos, decimal latitude, decimal longitude)
        {
            if ((bool)Session["Login"])
            {
                try
                {
                    MetaniContext context = new MetaniContext();
                    context.EditLokasi(idLokasi, kecamatan, kabupaten, provinsi, kodepos, latitude, longitude);

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

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