using Elsa.Features.Services;
using Elsa.Tenants.Features;
// ReSharper disable once CheckNamespace
namespace Elsa.Tenants.Extensions;
/// <summary>
/// Extensions for <see cref="IModule"/> that installs the <see cref="TenantsFeature"/> feature.
/// </summary>
public static class ModuleExtensions
{
/// Installs and configures the <see cref="TenantsFeature"/> feature.
public static IModule UseTenants(this IModule module, Action<TenantsFeature>? configure = default)
module.Configure(configure);
return module;
}