0
sregitz created
I'm creating essentially an Employee Search field (by last name) on the Dashboard and want the button to redirect to my Employee details page (passing the employeeID from a textbox on this page the user types into) and want to know what the best practice is for this. Of course a Route comes to mind but wanted to see if there was a preferred method by using the existing AppService for Employees and pass it a type, something like GetEmployee(GetEmployeeInput input) from the CSHTML page.
1 Answer(s)
-
0
Hi,
I think the routing is the best option but maybe someone else can offer another solution.