示例#1
0
        public IActionResult addResignFund()
        {
            empModel emp = new empModel();

            ViewData["emp"] = emp.drop_emp_Fund();

            info_fundModel fn = new info_fundModel();

            ViewData["fund"] = fn.dropdownFund();

            return(View());
        }
示例#2
0
        public void fund(string emp)
        {
            info_fundModel fund = new info_fundModel();

            ViewData["fund"] = fund.dropdownFund();

            emp_fundRegisModel fr    = new emp_fundRegisModel();
            string             check = fr.checkFund(emp);

            ViewData["check_fund"] = check;
            // if (check != "0") {

            ViewData["data_fund"] = fr.selectFundByEmp(emp);
            // }
        }