Exemple #1
0
        } //End public static void setValidCredential(User_DetailVM poViewmodel)

        public static void setEmployee_Jobinfo(string psRES_RUID)
        {
            if ((psRES_RUID != null) && (psRES_RUID != ""))
            {
                EmployeeDS oDS = new EmployeeDS();
                //EmployeeJobinfo oVM = oDS.getData_Jobinfo(psRES_RUID);
                Employee_jobattrVM oVM = oDS.getData_jobattr(psRES_RUID);

                hlpConfig.SessionInfo.setAppUsrRES_RUID(psRES_RUID);
                hlpConfig.SessionInfo.setAppUsrRES_NM(oVM.RES_NM1);

                hlpConfig.SessionInfo.setAppUsrDEPT_RUID(oVM.DEPT_RUID);
                hlpConfig.SessionInfo.setAppUsrDEPT_NM(oVM.DEPT_NM);

                hlpConfig.SessionInfo.setAppUsrJOBTTL_RUID(oVM.JOB_TITLE_RUID);
                hlpConfig.SessionInfo.setAppUsrJOBTTL_NM(oVM.JOB_TITLE_NM);
            } //End if ((psRES_RUID != null) && (psRES_RUID != ""))
        }     //End public static void setEmployee_Jobinfo(string psRES_RUID)
Exemple #2
0
        // GET: /User/_Create_showData/5
        public ActionResult _Create_showData(string id = null)
        {
            //return View(Employee_jobattrVM.getData(id));
            return View(oDSEmployee.getData_jobattr(id));

        }