- Timestamp:
- 10/21/21 19:17:43 (3 years ago)
- Branches:
- dev
- Children:
- 31c006c, 45cf412
- Parents:
- 9885bee (diff), 95d80e4 (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
r9885bee r3b395c5 9 9 using FinkiChattery.Persistence.Models; 10 10 using FinkiChattery.Persistence.Repositories; 11 using FinkiChattery.Persistence.UnitOfWork; 11 12 using FinkiChattery.Queries.Questioning; 12 13 using Hangfire; … … 101 102 } 102 103 103 public static void Add Repos(this IServiceCollection services)104 public static void AddUnitOfWork(this IServiceCollection services) 104 105 { 105 services.AddScoped<ICategoriesRepo, CategoriesRepo>(); 106 services.AddScoped<ITeamRepo, TeamRepo>(); 107 services.AddScoped<IQuestionRepo, QuestionRepo>(); 108 services.AddScoped<IStudentRepo, StudentRepo>(); 106 services.AddScoped<IUnitOfWork, UnitOfWork>(); 109 107 } 110 108
Note:
See TracChangeset
for help on using the changeset viewer.