1
0
mirror of synced 2024-11-14 06:29:17 +00:00

Default = null bij WithFlow

This commit is contained in:
Menno van Lavieren 2017-07-27 17:32:31 +02:00
parent c79d7eec4f
commit 1fc8bece0e
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
{
public static class ConfigExtensions
{
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository<Default.FlowState> flowRepository)
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository<Default.FlowState> flowRepository = null)
{
config.Use(new FlowMiddleware(flowRepository));
return config;

View File

@ -25,7 +25,6 @@ namespace Test
var config = new TapetiConfig(new SimpleInjectorDependencyResolver(container))
.WithFlow()
//.WithFlowSqlRepository("data source=localhost;initial catalog=lef;integrated security=True;multipleactiveresultsets=True", 1)
.WithDataAnnotations()
.RegisterAllControllers()
.Build();