//private ISurveyKeyValueRepository _skvr; //private ISurveyParameterMemberRepository _spmr; //private ISurveyParameterRepository _spr; public EFSurveyService(ISurveyModelRepository smr, ISurveyInstanceRepository sir)//, ISurveyKeyValueRepository skvr, ISurveyParameterMemberRepository spmr, ISurveyParameterRepository spr) { _smr = smr; _sir = sir; //_skvr = skvr; //_spmr = spmr; //_spr = spr; }
public SurveyManager( ISurveyRepository surveyRepository, IOptionRepository optionRepository, ISurveyInstanceRepository surveyInstanceRepository, ISurveyUserResultRepository surveyUserResultRepository, IQuestionRepository questionRepository, IQuestionResultRepository questionResultRepository, IMapper mapper, IIdentityService identity ) { this.surveyRepository = surveyRepository; this.optionRepository = optionRepository; this.surveyInstanceRepository = surveyInstanceRepository; this.surveyUserResultRepository = surveyUserResultRepository; this.questionRepository = questionRepository; this.questionResultRepository = questionResultRepository; this.mapper = mapper; this.identity = identity; }