示例#1
0
        public ActionResult GenerateDisbursement(Models.Department department)
        {
            Dictionary <Item, int> departmentItemQuantity = reqService.GetDepartmentItemAndQuantity(department);

            ViewData["departmentItemAndQuantity"] = departmentItemQuantity;
            ViewBag.DepartmentID = new SelectList(reqService.GetDepartments(), "DepartmentID", "DepartmentName", department.DepartmentID);
            return(View("~/Views/Store/Clerk/GenerateDisbursement.cshtml", department));
        }