public IActionResult SearchEmployeeForAttendance(SearchViewModel search) { List <EmployeeInfo> searchEmployee = employeeInfoRepository.GetEmployeeListByBranchAndDepartmentId(search.BranchId, search.DepartmentId); ViewBag.Employee = searchEmployee; return(View()); }