public UserAnswerService(IRepository <UserAnswer> userAnswerRepository
                          , IRepository <UserAnswerDetail> userAnswerDetailRepository
                          , IRepository <UserAnswerDetail_Media> userAnswerDetailMediaRepository
                          , IRepository <UserAnswerQueue> userAnswerQueueRepository
                          , IPropertyService propertyService
                          , ICacheManager cacheManager
                          , IEventPublisher eventPublisher
                          , IQuestionBankService questionBankService
                          , IUserAttributeService userAttributeService
                          , IWorkContext workContext
                          , IUserService userService
                          , ILogger logger
                          , IWordsSubstitutionService wordsSubstitutionService
                          , WeiConfig weiConfig)
 {
     this._userAnswerRepository            = userAnswerRepository;
     this._userAnswerDetailRepository      = userAnswerDetailRepository;
     this._userAnswerDetailMediaRepository = userAnswerDetailMediaRepository;
     this._userAnswerQueueRepository       = userAnswerQueueRepository;
     this._propertyService      = propertyService;
     this._cacheManager         = cacheManager;
     this._eventPublisher       = eventPublisher;
     this._questionBankService  = questionBankService;
     this._userAttributeService = userAttributeService;
     this._userService          = userService;
     this._workContext          = workContext;
     this._logger = logger;
     this._wordsSubstitutionService = wordsSubstitutionService;
     this._weiConfig = weiConfig;
 }
 public AssignmentBuilderController(IAssignmentService assignmentService, IQuestionBankDocument questionBankDocument, ICompetencyService competencyService, IQuestionBankService questionBankService,ISkillSetService skillSetService)
 {
     _assignmentService = assignmentService;
     _questionBankDocument = questionBankDocument;
     _competencyService = competencyService;
     _questionBankService = questionBankService;
       //  this._skillSetDocument = skillSetDocument;
     _skillSetService = skillSetService;
 }
Exemple #3
0
 /// <summary>
 /// initalising the skillset Document document
 /// </summary>
 /// <param name="skillSetDocument"></param>
 /// <param name="questionDocument"></param>
 /// <param name="folderDocumentInstance"></param>
 /// <param name="questionBankDocumentInstance"></param>
 /// <param name="competencyService"></param>
 /// <param name="questionBankService"></param>
 public SkillSetService(ISkillSetDocument skillSetDocument, IQuestionDocument questionDocument, IFolderDocument folderDocumentInstance, IQuestionBankDocument questionBankDocumentInstance, ICompetencyService competencyService, IQuestionBankService questionBankService)
 {
     _questionDocument = questionDocument;
     _folderDocument = folderDocumentInstance;
     _questionBankDocument = questionBankDocumentInstance;
     _competencyService = competencyService;
     _skillSetDocument = skillSetDocument;
     //_skillSetRepositoryDocument = skillSetRepositoryDocument;
     _questionBankService = questionBankService;
 }
Exemple #4
0
 public QuestionBankController(IQuestionBankService questionBankService
                               , IUserService userService
                               , IUserAttributeService userAttributeService
                               , IWorkContext workContext
                               , HttpRequestBase request
                               , ILogger logger)
 {
     this._questionBankService  = questionBankService;
     this._userService          = userService;
     this._userAttributeService = userAttributeService;
     this._workContext          = workContext;
     this._request = request;
     this._logger  = logger;
 }
Exemple #5
0
 public WeiXinController(IUserService userService
                         , IUserAnswerService userAnswerService
                         , IQuestionBankService questionBankService
                         , IPropertyService propertyService
                         , IWebHelper webHelper
                         , HttpContextBase httpContext
                         , IWorkContext workContext
                         , ILogger logger)
 {
     this._logger              = logger;
     this._userService         = userService;
     this._userAnswerService   = userAnswerService;
     this._questionBankService = questionBankService;
     this._propertyService     = propertyService;
     this._webHelper           = webHelper;
     this._httpContext         = httpContext;
     this._workContext         = workContext;
 }
        public CustomMessageHandler(Stream inputStream, PostModel postModel
                                    , IUserService userService
                                    , IUserAnswerService userAnswerService
                                    , IQuestionBankService questionBankService
                                    , IPropertyService propertyService
                                    , IWebHelper webHelper
                                    , HttpContextBase httpContext
                                    , IWorkContext workContext
                                    , ILogger logger)
            : base(inputStream, postModel, 0, null)
        {
            //System.Threading.Interlocked.Increment(ref REQUESTNO);

            this._logger              = logger;
            this._userService         = userService;
            this._userAnswerService   = userAnswerService;
            this._questionBankService = questionBankService;
            this._propertyService     = propertyService;
            this._webHelper           = webHelper;
            this._httpContext         = httpContext;
            this._workContext         = workContext;
        }
 public QuestionBankController(IQuestionBankService questionBankService, IMapper mapper)
 {
     _questionBankService = questionBankService;
     _mapper = mapper;
 }
 public QuestionBankController(IQuestionBankService questionBankService, ICompetencyService competencyService, ISkillSetService skillSetService)
 {
     _questionBankService = questionBankService;
     _competencyService = competencyService;
     _skillSetService = skillSetService;
 }
 public HomeController(ISurveyService surveyService, IQuestionBankService questionbankService)
 {
     _surveyService       = surveyService;
     _QuestionbankService = questionbankService;
 }