/// <summary>
        /// Method called on Async complete
        /// </summary>
        /// <param name="statusCode"></param>
        /// <param name="jobs"></param>
        /// <remarks></remarks>
        private void OnJobComplete(HttpStatusCode statusCode, PagedCollection <Job> jobs)
        {
            //Invoke the SetDataSource method on the UI thread
            var d = new SetJobsCallback(SetJobDataSource);

            Invoke(d, new object[] { jobs });
        }
 /// <summary>
 /// Method called on Async complete
 /// </summary>
 /// <param name="statusCode"></param>
 /// <param name="jobs"></param>
 /// <remarks></remarks>
 private void OnJobComplete(HttpStatusCode statusCode, PagedCollection<Job> jobs)
 {
     //Invoke the SetDataSource method on the UI thread
     var d = new SetJobsCallback(SetJobDataSource);
     Invoke(d, new object[] {jobs});
 }