Ejemplo n.º 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);
 }
Ejemplo n.º 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));
        }