if you need to return one employee, maybe case when you search this one employee in database, and return just one from database? instead getting all, and searching between them