Esempio n. 1
0
 public ActionResult PaymentStatusCreateEdit(payment_status payment_status)
 {
     result              = paymentStatusUtill.PaymentStatusCreateEdit(payment_status);
     ViewBag.Title       = payment_status == null ? "Payment Status Create" : "Payment Status Edit";
     ViewBag.action_name = STUtil.GetListAllActionByController("");
     return(Json(result));
 }
Esempio n. 2
0
        public ActionResult PaymentStatus(string id)
        {
            STUtil.SetSessionValue(UserInfo.pageTitle.ToString(), "Payment Status");
            payment_status c = new payment_status();

            if (id != null && id != "")
            {
                c = db.payment_status.Find(Convert.ToInt32(id));
            }
            return(View(c));
        }