Remove overload

This commit is contained in:
Sipke Schoorstra 2019-10-29 14:08:42 +01:00
parent ff1b203139
commit 48777d8eb3
2 changed files with 3 additions and 11 deletions

View file

@ -32,8 +32,4 @@
<ProjectReference Include="..\Elsa.WorkflowDesigner\Elsa.WorkflowDesigner.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Decorators" />
</ItemGroup>
</Project>

View file

@ -19,13 +19,9 @@ namespace Elsa.Dashboard.Extensions
{
public static IServiceCollection AddElsaDashboard(
this IServiceCollection services,
Action<ElsaBuilder> configure) =>
services.AddElsaDashboard(default, configure);
public static IServiceCollection AddElsaDashboard(
this IServiceCollection services,
Action<OptionsBuilder<ElsaDashboardOptions>> options = null,
Action<ElsaBuilder> configure = null)
Action<OptionsBuilder<ElsaDashboardOptions>> options = default,
Action<ElsaBuilder> configure = default
)
{
var configuration = new ElsaBuilder(services);