i'm sorry guys it's stupid commit...
This commit is contained in:
parent
77cfacb95e
commit
4b4739ce89
13 changed files with 174 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ using SurveyBackend.Infrastructure.Data;
|
|||
using SurveyBackend.Infrastructure.Repositories;
|
||||
using SurveyBackend.Middlewares;
|
||||
using SurveyBackend.Services;
|
||||
using SurveyBackend.Services.Helpers;
|
||||
using SurveyBackend.Services.Services;
|
||||
using SurveyLib.Core.Repositories;
|
||||
using SurveyLib.Core.Services;
|
||||
|
|
@ -49,10 +50,12 @@ public class Program
|
|||
builder.Services.AddScoped<ISurveyRepository, SurveyRepository>();
|
||||
builder.Services.AddScoped<IQuestionRepository, QuestionRepository>();
|
||||
builder.Services.AddScoped<IAnswerVariantsRepository, AnswerVariantsRepository>();
|
||||
builder.Services.AddScoped<ICompletionRepository, CompletionRepository>();
|
||||
|
||||
builder.Services.AddScoped<ISurveyService, SurveyService>();
|
||||
builder.Services.AddScoped<IQuestionService, QuestionService>();
|
||||
builder.Services.AddScoped<IAnswerVariantsService, AnswerVariantsService>();
|
||||
builder.Services.AddScoped<ICompletionService, CompletionService>();
|
||||
|
||||
|
||||
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue