Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UserServiceCollectionExtensions.cs - Building Workflow Driven .NET Core Applications with Elsa
using Elsa.Samples.UserRegistration.Web.Activities;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Samples.UserRegistration.Web.Extensions
{
public static class UserServiceCollectionExtensions
{
public static IServiceCollection AddUserActivities(this IServiceCollection services)
{
return services
.AddActivity<CreateUser>()
.AddActivity<ActivateUser>()
.AddActivity<DeleteUser>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.