/// <summary>
        /// Create the new Server Disaster Recovery Configuration
        /// </summary>
        /// <param name="entity">The output of apply user input to model</param>
        /// <returns>The input entity</returns>
        protected override IEnumerable <AzureSqlServerDisasterRecoveryConfigurationModel> PersistChanges(IEnumerable <AzureSqlServerDisasterRecoveryConfigurationModel> entity)
        {
            string partnerServerId = string.Format("/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Sql/servers/{2}",
                                                   DefaultContext.Subscription.Id, PartnerResourceGroupName, PartnerServerName);

            return(new List <AzureSqlServerDisasterRecoveryConfigurationModel>()
            {
                ModelAdapter.CreateServerDisasterRecoveryConfiguration(this.ResourceGroupName, this.ServerName, partnerServerId, entity.First())
            });
        }