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); }
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)); }