public ActionResult EditSimpan(Customer customer) { if (CustomerRepo.Editcustomer(customer)) { return(Json(new { EditSimpan = "Berhasil" }, JsonRequestBehavior.AllowGet)); } else { return(Json(new { EditSimpan = "Gagal" }, JsonRequestBehavior.AllowGet)); } }