public Employee(Bll_Bse_Employee employeeInstance, Bll_Dept deptInstance, Bse_Employee _EmplyeeModel) { InitializeComponent(); DeptInstance = deptInstance; EmployeeInstance = employeeInstance; EmplyeeModel = _EmplyeeModel; this.Load+=new EventHandler(Employee_Load); }
public Dept(string pCode, string pName, Bll_Dept _instance, Bll_Bse_Employee _employeeInstance, Bse_Department _model) { this.Refresh(); InitializeComponent(); instance = _instance; employeeInstance = _employeeInstance; GModel = _model; this.Load+=new EventHandler(Dept_Load); }
public ActionResult NextAuditUser() { string VerfiyKey = Request["verfiykey"]; string VerfiyNodeCode = Request["NodeCode"]; Verify_Users model = atInstance.GetVerifyUser(VerfiyKey, VerfiyNodeCode); if (model != null) { var stuffModel = new Bll_Bse_Employee().GetModel(" AND Emp_Code='" + model.VU_User + "' "); //var departModel = new Bll_HR_Department().GetModel(" AND Dept_Code='" + model.VU_Dept + "' "); model.VU_User = stuffModel != null ? stuffModel.Emp_Name : ""; model.VU_Dept = stuffModel != null ? stuffModel.Emp_Dept_Name : ""; return Json(model); } else { return Content("fail"); } }