I am trying to build a WPF Desktop app, wherein I am using Local server to consume a geoprocessing package. The idea is to develop an app where I can click at a location, to mark an outlet point, on the map and click the generate button to generate the watershed above the outlet. I tried to follow the sample from https://developers.arcgis.com/net/latest/wpf/sample-code/local-server-geoprocessing/
But not successful in achieving the goal and I get “Job failed” message box.
I am attaching the code also. Any help is much appreciated.