/// <summary>
        /// Helper function which does the actual report generation work
        /// </summary>
        private async void GenerateReportAsync(client.Graphic feature, int wkid)
        {
            ReportGenerationService service = new ReportGenerationService();

            //Generate a census report and retrive the location of the report
            string reportLocation = await service.GetReportGenerationAsync(feature, BufferRadius, wkid);

            //Try to open the report in a pdf viewer
            if (string.IsNullOrEmpty(reportLocation))
            {
                MessageBox.Show("Error generating report", "Report Generation", MessageBoxButton.OK, MessageBoxImage.None);
            }
            else
            {
                Process.Start(new ProcessStartInfo(reportLocation));
            }
        }
    /// <summary>
    /// Helper function which does the actual report generation work
    /// </summary>
    private async void GenerateReportAsync(client.Graphic feature, int wkid)
    {
      ReportGenerationService service = new ReportGenerationService();

      //Generate a census report and retrive the location of the report
      string reportLocation = await service.GetReportGenerationAsync(feature, BufferRadius, wkid);

      //Try to open the report in a pdf viewer
      if (string.IsNullOrEmpty(reportLocation))
        MessageBox.Show("Error generating report", "Report Generation", MessageBoxButton.OK, MessageBoxImage.None);
      else
        Process.Start(new ProcessStartInfo(reportLocation));
    }