Esempio n. 1
0
 public ActionResult DeleteConfirm(int id)
 {
     if (SupplierDataAccess.Delete(id))
     {
         return(Json(new { success = true, message = "Sukses" }, JsonRequestBehavior.AllowGet));
     }
     else
     {
         return(Json(new { success = false, message = SupplierDataAccess.Message }, JsonRequestBehavior.AllowGet));
     }
 }