コード例 #1
0
 public ActionResult SearchVoucher(string errMsg)
 {
     if (Session["UserID"] != null)
     {
         ViewBag.JTrGrpId = new SelectList(_jTrGrpService.All().ToList(), "VType", "TypeDesc");
         ViewBag.VchrNo   = LoadDropDown.LoadVchrNoByVchrType("", _vchrMainService);
         ViewBag.Message  = errMsg;
         return(View());
     }
     else
     {
         return(RedirectToAction("SecUserLogin", "SecUserLogin"));
     }
 }
コード例 #2
0
 public ActionResult GetVchrNoByVchrType(string VchrType)
 {
     return(Json(LoadDropDown.LoadVchrNoByVchrType(VchrType, _vchrMainService), JsonRequestBehavior.AllowGet));
 }