/// <summary>
 /// Update the databases of the failover group
 /// </summary>
 /// <param name="entity">The output of apply user input to model</param>
 /// <returns>The input entity</returns>
 protected override IEnumerable <AzureSqlFailoverGroupModel> PersistChanges(IEnumerable <AzureSqlFailoverGroupModel> entity)
 {
     return(new List <AzureSqlFailoverGroupModel>()
     {
         ModelAdapter.AddOrRemoveDatabaseToFailoverGroup(this.ResourceGroupName, this.ServerName, this.FailoverGroupName, entity.First())
     });
 }