- Timestamp:
- 11/02/21 20:39:18 (3 years ago)
- Branches:
- dev
- Children:
- 80e2fe0, 846cf1a
- Parents:
- 806f4ee (diff), 7c3e6a8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FinkiChattery/FinkiChattery.Api/Services/RegisterServices.cs
r806f4ee r728eb31 1 1 using FinkiChattery.Api.ApplicationServices.Authentication; 2 using FinkiChattery.Api.ApplicationServices.Questioning.EventHandlers; 2 3 using FinkiChattery.Api.Services; 3 4 using FinkiChattery.Commands.Questioning; … … 31 32 services.AddScoped<IEventService, EventService>(); 32 33 services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>)); 33 services.AddMediatR(typeof(AskQuestionCommand), typeof(GetQuestionStateQuery) );34 services.AddMediatR(typeof(AskQuestionCommand), typeof(GetQuestionStateQuery), typeof(UpdateAnswerVotesEventHandler)); 34 35 } 35 36 … … 54 55 }); 55 56 services.AddHangfireServer(); 57 58 services.AddScoped<IBackgroundJobClient>(provider => 59 { 60 return new BackgroundJobClient(JobStorage.Current); 61 }); 56 62 } 57 63
Note:
See TracChangeset
for help on using the changeset viewer.