From 1ed98dfb57ba2f2d902522f8ab2e162b2702def4 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 30 Nov 2023 12:06:41 +0100 Subject: [PATCH] Cleanup --- .../Workflows/OnboardingWorkflow.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/samples/aspnet/Elsa.Samples.AspNet.Onboarding.WorkflowServer/Workflows/OnboardingWorkflow.cs b/src/samples/aspnet/Elsa.Samples.AspNet.Onboarding.WorkflowServer/Workflows/OnboardingWorkflow.cs index 6bd16a787..2585d4d17 100644 --- a/src/samples/aspnet/Elsa.Samples.AspNet.Onboarding.WorkflowServer/Workflows/OnboardingWorkflow.cs +++ b/src/samples/aspnet/Elsa.Samples.AspNet.Onboarding.WorkflowServer/Workflows/OnboardingWorkflow.cs @@ -35,7 +35,7 @@ public class OnboardingWorkflow : WorkflowBase // First thing we need to do is get an email account setup. new RunTask("Create Email Account") { - Payload = new(context => new Dictionary() + Payload = new(context => new Dictionary { ["Employee"] = employee.Get(context)!, ["Description"] = "Create an email account for the new employee." @@ -48,7 +48,7 @@ public class OnboardingWorkflow : WorkflowBase { new RunTask("Create Slack Account") { - Payload = new(context => new Dictionary() + Payload = new(context => new Dictionary { ["Employee"] = employee.Get(context)!, ["Description"] = "Create a Slack account for the new employee." @@ -56,7 +56,7 @@ public class OnboardingWorkflow : WorkflowBase }, new RunTask("Create GitHub Account") { - Payload = new(context => new Dictionary() + Payload = new(context => new Dictionary { ["Employee"] = employee.Get(context)!, ["Description"] = "Create a GitHub account for the new employee." @@ -64,7 +64,7 @@ public class OnboardingWorkflow : WorkflowBase }, new RunTask("Add to HR System") { - Payload = new(context => new Dictionary() + Payload = new(context => new Dictionary { ["Employee"] = employee.Get(context)!, ["Description"] = "Add the new employee to the HR system." @@ -72,7 +72,7 @@ public class OnboardingWorkflow : WorkflowBase }, new RunTask("Add to Payroll System") { - Payload = new(context => new Dictionary() + Payload = new(context => new Dictionary { ["Employee"] = employee.Get(context)!, ["Description"] = "Add the new employee to the payroll system."