delete answer variants for logic rework

This commit is contained in:
Вячеслав 2025-05-13 19:09:08 +05:00
parent dc6bca6b6e
commit c39fd4192a
4 changed files with 13 additions and 7 deletions

View file

@ -10,12 +10,14 @@ public class QuestionService : IQuestionService
{
private readonly IQuestionRepository _questionRepository;
private readonly ISurveyRepository _surveyRepository;
private readonly IUserContext _userContext;
public QuestionService(IQuestionRepository questionRepository, ISurveyRepository surveyRepository,
IUserContext userContext)
{
_questionRepository = questionRepository;
_surveyRepository = surveyRepository;
_userContext = userContext;
}
public async Task AddQuestionAsync(QuestionBase question)