/// <summary> /// Create the new secondary and replication link to the primary /// </summary> /// <param name="entity">The output of apply user input to model</param> /// <returns>The input entity</returns> protected override IEnumerable <AzureReplicationLinkModel> PersistChanges(IEnumerable <AzureReplicationLinkModel> entity) { return(new List <AzureReplicationLinkModel>() { ModelAdapter.CreateLinkWithNewSdk(entity.First().PartnerResourceGroupName, entity.First().PartnerServerName, entity.First()) }); }