Esempio n. 1
0
 // GET: VM_CrNote
 public ActionResult VM_CrNote()
 {
     if (Session["UserID"] != null)
     {
         ViewBag.Reason   = LoadDropDown.LoadCrNoteReason();
         ViewBag.NoteList = GetCrNote();
         ViewBag.CrNoteNo = GetNewCrNote();
         var sysSet = _sysSetService.All().ToList().FirstOrDefault();
         ViewBag.MaintVAT    = sysSet.MaintVAT;
         Session["MaintVAT"] = sysSet.MaintVAT;
         return(View());
     }
     else
     {
         return(RedirectToAction("SecUserLogin", "SecUserLogin"));
     }
 }