public Task Run(PublishedFundingUndoTaskContext taskContext)
        {
            DsgRollBackParameters parameters = taskContext.Parameters as DsgRollBackParameters;

            Guard.ArgumentNotNull(parameters, nameof(parameters));

            taskContext.PublishedFundingDetails                    =
                taskContext.PublishedProviderDetails               =
                    taskContext.PublishedProviderVersionDetails    =
                        taskContext.PublishedFundingVersionDetails = new UndoTaskDetails
            {
                FundingPeriodId = parameters.FundingPeriodId,
                FundingStreamId = "DSG",
                Version         = parameters.Version.DecimalValue
            };

            return(Task.CompletedTask);
        }
        public async Task Run(MigrateOptions migrateOptions)
        {
            DsgRollBackParameters rollBackParameters = migrateOptions;

            await PerformUndo(rollBackParameters);
        }