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; }
public BranchOfficeService(IBranchOfficeRepository entityRepository) { this.entityRepository = entityRepository; }
public BranchOfficeService(IBranchOfficeRepository _branchOfficeRepository, IBranchOfficeValidator _branchOfficeValidator) { _repository = _branchOfficeRepository; _validator = _branchOfficeValidator; }
/// <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; }