public ActionResult DeleteConfirmed(Int32 id)
        {
            PaymentBtns paymentBtns = db.PaymentBtns.Find(id);

            db.PaymentBtns.Remove(paymentBtns);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult Delete(Int32 id)
        {
            PaymentBtns paymentBtns = db.PaymentBtns.Find(id);

            if (paymentBtns == null)
            {
                return(HttpNotFound());
            }
            return(View(paymentBtns));
        }
 public ActionResult Edit(PaymentBtns paymentBtns)
 {
     if (ModelState.IsValid)
     {
         db.Entry(paymentBtns).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(paymentBtns));
 }
        public ActionResult Create(PaymentBtns paymentBtns)
        {
            if (ModelState.IsValid)
            {
                db.PaymentBtns.Add(paymentBtns);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(paymentBtns));
        }