/// <summary>
 /// Create the new sync agent
 /// </summary>
 /// <param name="entity">The output of apply user input to model</param>
 /// <returns>The input entity</returns>
 protected override IEnumerable <AzureSqlSyncAgentModel> PersistChanges(IEnumerable <AzureSqlSyncAgentModel> entity)
 {
     return(new List <AzureSqlSyncAgentModel>()
     {
         ModelAdapter.CreateSyncAgent(entity.First(), this.syncDatabaseId)
     });
 }