Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public BranchOfficeService(IBranchOfficeRepository entityRepository)
 {
     this.entityRepository = entityRepository;
 }
Ejemplo n.º 3
0
 public BranchOfficeService(IBranchOfficeRepository _branchOfficeRepository, IBranchOfficeValidator _branchOfficeValidator)
 {
     _repository = _branchOfficeRepository;
     _validator  = _branchOfficeValidator;
 }
Ejemplo n.º 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;
 }