elsa-core/src/modules/Elsa.Workflows.Api/Extensions/ModuleExtensions.cs

14 lines
393 B
C#
Raw Normal View History

using Elsa.Features.Services;
using Elsa.Workflows.Api.Features;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection;
2022-11-23 10:20:35 +00:00
public static class ModuleExtensions
{
public static IModule UseWorkflowApiEndpoints(this IModule module, Action<WorkflowsApiFeature>? configure = default)
{
module.Configure(configure);
return module;
}
}