public ActionResult Index() { var employeeLeaveRequestView = new EmployeeLeaveRequestViewModel { LeaveTypeList = new SelectList(_leaveTypeService.GetAll(), "Id", "Name"), LeaveApprovalStatusList = new SelectList(_leaveApprovalStatusService.GetAll(), "Id", "Name"), }; return(View(employeeLeaveRequestView)); }