public ActivityResult Invoke(IContactProcessingContext context) { Condition.Requires(context, nameof(context)).IsNotNull(); try { _xdbContext.ExecuteRightToBeForgotten(context.Contact); _xdbContext.Submit(); return(new SuccessExitPlan()); } catch (Exception e) { _logger.LogError(0, e, "ExecuteRightToBeForgottenActivity failed"); return(new Failure("ExecuteRightToBeForgottenActivity failed", TimeSpan.FromMinutes(5))); } }