/// <summary> /// Issue the failover operation /// </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.Failover( this.ResourceGroupName, this.ServerName, this.FailoverGroupName, this.AllowDataLoss.IsPresent) }); }