// 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));
        }
Example #2
0
 public EmployeeController()
 {
     _bal = new EmpBusinessLayer();
 }