示例#1
0
        public ActionResult Reorder(int reqId, string sessionId)
        {
            Employee emp = EmployeeService.GetUserBySessionId(sessionId);

            RequisitionService.ReorderCart(reqId, emp.EmpId);
            ViewData["sessionId"] = sessionId;
            ViewData["isRep"]     = (emp.EmpRole == "REPRESENTATIVE");
            return(RedirectToAction("RequisitionList", "Requisition", new { sessionId = sessionId }));
        }