Ejemplo n.º 1
0
 protected void Start()
 {
     string sn = Request["sn"];
     string invoiceStatus = Request["invoice"];
     bool invoice = false;
     if (invoiceStatus.ToLower() == "true")
     {
         invoice = true;
     }
     if (com.hooyes.crc.helper.Validate.GuidString(sn))
     {
         RegisterAdmin reg = new RegisterAdmin();
         bool flag = reg.SetInvoicStatus(sn, invoice);
         ResponseIt();
     }
     else
     {
         Response.Write("{flag:false,msg:'sn error'}");
     }
 }