Base solution for your next web application
Open Closed

Redirect best practices using AppService ? #2471


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think the routing is the best option but maybe someone else can offer another solution.