Refactor state transitions into workflow service
This commit is contained in:
@@ -39,6 +39,7 @@ builder.Services.AddScoped<SuggestionWorkflowService>();
|
||||
builder.Services.AddScoped<VoteWorkflowService>();
|
||||
builder.Services.AddScoped<AdminWorkflowService>();
|
||||
builder.Services.AddScoped<ResultsWorkflowService>();
|
||||
builder.Services.AddScoped<StateWorkflowService>();
|
||||
|
||||
builder.Services.ConfigureHttpJsonOptions(options => { options.SerializerOptions.Converters.Add(new JsonStringEnumConverter()); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user