public ExcelFilesService(IExcelFilesRepository repository, IUnitOfWork unitOfWork,
                          ISurveyRepository surveyRepository, IUserRepository userRepository) : base(repository, unitOfWork)
 {
     this.repository       = repository;
     this.unitOfWork       = unitOfWork;
     this.surveyRepository = surveyRepository;
     this.userRepository   = userRepository;
 }
示例#2
0
 public SurveyService(ISurveyRepository repository, IUnitOfWork unitOfWork,
                      IUserAnswerRepository userAnswerRepository, IUserNotificationRepository userNotificationRepository,
                      IUserRepository userRepository, INotificationRepository notificationRepository,
                      ICategoryRepository categoryRepository, IUserGroupRepository userGroupRepository,
                      IUserSurveyRepository userSurveyRepository, IExcelFilesRepository excelFilesRepository,
                      IGroupRepository groupRepository, ICommentRepository commentRepository,
                      IAnswerRepository answerRepository) : base(repository, unitOfWork)
 {
     this.repository                 = repository;
     this.unitOfWork                 = unitOfWork;
     this.userAnswerRepository       = userAnswerRepository;
     this.userNotificationRepository = userNotificationRepository;
     this.userRepository             = userRepository;
     this.categoryRepository         = categoryRepository;
     this.notificationRepository     = notificationRepository;
     this.userGroupRepository        = userGroupRepository;
     this.userSurveyRepository       = userSurveyRepository;
     this.excelFilesRepository       = excelFilesRepository;
     this.groupRepository            = groupRepository;
     this.commentRepository          = commentRepository;
     this.answerRepository           = answerRepository;
 }