public UnitOfWork(DbContext context, ITestRepository testRepository, IUserAnswerRepository userAnswerRepository, IResultRepository resultRepository, IQuestionRepository questionRrepository, IQuestionAnswerRepository questionAnswerRepository) { Context = context; this.TestRepository = testRepository; this.ResultRepository = resultRepository; this.UserAnswerRepository = userAnswerRepository; this.QuestionRrepository = questionRrepository; this.QuestionAnswerRepository = questionAnswerRepository; }
public SurveyService(ISurveyRepository surveyRepository, ISurveyQuestionRepository surveyQuestionRepository, IQuestionAnswerRepository questionAnswerRepository, IUserRepository userRepository, IUnitOfWork unitOfWork) { _surveyRepository = surveyRepository; _surveyQuestionRepository = surveyQuestionRepository; _questionAnswerRepository = questionAnswerRepository; _userRepository = userRepository; _unitOfWork = unitOfWork; }
public SurveyAnswerService(ISurveyAnswerRepository surveyAnswerRepository, IQuestionAnswerRepository questionAnswerRepository, IFieldDataAnswerRepository fieldDataAnswerRepository, IChoiceOptionAnswerRepository choiceOptionAnswerRepository, IRowAnswerRepository rowAnswerRepository, IRowChoiceOptionAnswerRepository rowChoiceOptionAnswerRepository, IQuestionReportRepository questionReportRepository, ISurveyReportRepository surveyReportRepository, IDataSetRepository dataSetRepository) { _surveyAnswerRepository = surveyAnswerRepository; _questionAnswerRepository = questionAnswerRepository; _fieldDataAnswerRepository = fieldDataAnswerRepository; _choiceOptionAnswerRepository = choiceOptionAnswerRepository; _rowAnswerRepository = rowAnswerRepository; _rowChoiceOptionAnswerRepository = rowChoiceOptionAnswerRepository; _questionReportRepository = questionReportRepository; _surveyReportRepository = surveyReportRepository; _dataSetRepository = dataSetRepository; }
public QuestionsController(IQuestionAnswerRepository questionsRepository, INoticeRepository noticeRepository) { _questionsRepository = questionsRepository; _noticeRepository = noticeRepository; }
public SurveyAnswersController(IQuestionAnswerRepository _questionAnswerRepository) { questionAnswerRepository = _questionAnswerRepository; }
//private readonly static ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); public QuestionAnswerService( IUnitOfWork unitwork,IQuestionAnswerRepository questionAnswerRepository) { this.unitwork = unitwork; this.questionAnswerRepository = questionAnswerRepository; }
public QuestionAnswerController(QuestionAnswerService questionAnswerService, IQuestionAnswerRepository questionAnswerRepository) { QuestionAnswerService = questionAnswerService; QuestionAnswerRepository = questionAnswerRepository; }
public AnswersController(IQuestionAnswerRepository repository) { _repository = repository; }
public QuestionAnswerService(IQuestionAnswerRepository questionAnswerRepository) { QuestionAnswerRepository = questionAnswerRepository; }
public ChatBotController(IQuestionAnswerRepository questionsRepository, INoticeRepository noticeBoardRepository) { _questionAnswerRepository = questionsRepository; _noticeBoardRepository = noticeBoardRepository; }
public QAController(IQuestionAnswerRepository qaRepo) { _qaRepo = qaRepo; }