// GET: ContactUs public ActionResult Index(int empId) { EmpBusinessLayer objemp_BL = new EmpBusinessLayer(); EmpInfo empInfo = objemp_BL.GetById(empId); ViewBag.LoginUser = empInfo.Name; ViewData["EmpInformation"] = empInfo; return(View(empInfo)); }
public EmployeeController() { _bal = new EmpBusinessLayer(); }