Пример #1
0
 public ActionResult RefuseToPay(int ID)
 {
     AdvertBillBLL bll = new AdvertBillBLL();
     AdvertBill bill = bll.Get(ID);
     bill.PayTime = DateTime.Now;
     bill.Status = 2;//拒绝支付
     bll.Update(bill);
     return MyContent("操作成功!", "/Channel/ChannelBillList");
 }
Пример #2
0
 public ActionResult Pay(int ID, double PayMoney)
 {
     AdvertBillBLL bll = new AdvertBillBLL();
     AdvertBill bill = bll.Get(ID);
     if (PayMoney > 0)
     {
         bill.PayMoney = PayMoney.ToString();
         bill.PayTime = DateTime.Now;
         bill.Status = 1;
         bll.Update(bill);
     }
     return MyContent("操作成功!", "/Channel/ChannelBillList");
 }