public ActionResult Create3(VMOvertimeApprovalSelection es, int?[] SelectedEmpIds) { VMLoggedUser LoggedInUser = Session["LoggedInUser"] as VMLoggedUser; //H HR Admin //U HR Normal VMOvertimeApproval vmOvertimeApproval = new VMOvertimeApproval(); vmOvertimeApproval = OvertimeAprrovalService.GetCreate3(es, SelectedEmpIds, vmOvertimeApproval); ViewBag.SubmittedToUserID = ViewBag.LineManagerID = new SelectList(AppAssistant.GetLineManagers(DDService.GetUser().Where(aa => aa.UserRoleID == "H").ToList()), "PUserID", "UserName", LoggedInUser.LineManagerID); ViewBag.OTStatusID = new SelectList(DDService.GetMonthOTStage().Where(aa => aa.PMonthDataOTStageID == "H" || aa.PMonthDataOTStageID == "A"), "PMonthDataOTStageID", "MonthDataOTStageName", "H"); return(View(vmOvertimeApproval)); }