/// <summary>
 /// Sends the changes to the service -> Cancels the job execution belonging to job
 /// </summary>
 /// <param name="entity">The job execution to cancel</param>
 /// <returns>The job execution that was cancelled</returns>
 protected override IEnumerable <AzureSqlElasticJobExecutionModel> PersistChanges(IEnumerable <AzureSqlElasticJobExecutionModel> entity)
 {
     ModelAdapter.CancelJobExecution(entity.First());
     return(entity);
 }