示例#1
0
 public ActionResult AdminIndex(int? PaidStatus)
 {
     if (PaidStatus == null) PaidStatus = (int)Enums.enmOrderStatus.Paid;
     tOrderAdminModel customCouponModel = new tOrderAdminModel();
     customCouponModel.PaidStatus = (int)PaidStatus;
     customCouponModel.OrderStatusName = PaidStatus == (int) Enums.enmOrderStatus.Paid ? "Paid" : "Not Paid";
     return View(customCouponModel);
 }
示例#2
0
        public ActionResult AdminIndex(int?PaidStatus)
        {
            if (PaidStatus == null)
            {
                PaidStatus = (int)Enums.enmOrderStatus.Paid;
            }
            tOrderAdminModel customCouponModel = new tOrderAdminModel();

            customCouponModel.PaidStatus      = (int)PaidStatus;
            customCouponModel.OrderStatusName = PaidStatus == (int)Enums.enmOrderStatus.Paid ? "Paid" : "Not Paid";
            return(View(customCouponModel));
        }