So I am following an YT tutorial for creating a CRUD operation with ASP.NET. My tutorial code can create and read data but not update ( or edit). Whenever I tried to edit it pops the custom error message
Employee not found
Employee not found
`
It was supposed to be the success message
"Employee edited successfully!"
"Employee edited successfully!"
``
Here's my code, could anyone point me in the right direction?