Exemplo n.º 1
0
 public ActionResult NewCompanyTicket(string wfCode)
 {
     //UserName.ToUpper() == "ZCZCZY" && Password.ToUpper() == "ZCZCZY2015"
     if (!String.IsNullOrEmpty(User.Identity.Name))
     {
         WFService wfService = new WFService();
         int temp = wfService.NewTicket(User.Identity.Name,"A");
         if (temp == 0)
         {
             ViewBag.Message = "提交成功";
         }
         else
         {
             ViewBag.Message = "提交失败";
         }
     }
     return Redirect("/Ticket/NewCompany");
 }
Exemplo n.º 2
0
 public ActionResult Index()
 {
     WFService wf = new WFService();
     //ViewBag.Message = wf.TestFunc();
     return View();
 }