12 lines
298 B
C#
12 lines
298 B
C#
namespace Tapeti.Flow
|
|
{
|
|
public static class ConfigExtensions
|
|
{
|
|
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository flowRepository = null)
|
|
{
|
|
config.Use(new FlowMiddleware(flowRepository));
|
|
return config;
|
|
}
|
|
}
|
|
}
|