예제 #1
0
 public SurveyedService(ISurveyedRepository entityRepository, IPersonSurveyedRepository
                        personSurveyedRepository, IAnswerRepository answerRepository, IBranchOfficeRepository branchOfficeRepository,
                        IQuestionRepository questionRepository, IQuestionOptionRepository questionOptionRepository, IQuestionTypeRepository questionTypeRepository)
 {
     this.entityRepository         = entityRepository;
     this.personSurveyedRepository = personSurveyedRepository;
     this.answerRepository         = answerRepository;
     this.branchOfficeRepository   = branchOfficeRepository;
     this.questionRepository       = questionRepository;
     this.questionOptionRepository = questionOptionRepository;
     this.questionTypeRepository   = questionTypeRepository;
 }
예제 #2
0
 public BranchOfficeService(IBranchOfficeRepository entityRepository)
 {
     this.entityRepository = entityRepository;
 }
예제 #3
0
 public BranchOfficeService(IBranchOfficeRepository _branchOfficeRepository, IBranchOfficeValidator _branchOfficeValidator)
 {
     _repository = _branchOfficeRepository;
     _validator  = _branchOfficeValidator;
 }
예제 #4
0
 /// <summary>
 /// Inyectamos una instancia de el repositorio de oficinas
 /// </summary>
 /// <param name="repository">La instancia del repositorio de oficinas</param>
 public BranchOfficeService(IBranchOfficeRepository repository)
 {
     _repository = repository;
 }