Пример #1
0
 public UsersController(IUserReadService userReadService, IUserCommandService userCommandService, IVacancyCommandService vacancyCommandService, IVacancyReadService vacancyReadService, ITokenHelper tokenHelper, IOptionReadService optionReadService)
 {
     this.userReadService       = userReadService;
     this.userCommandService    = userCommandService;
     this.vacancyReadService    = vacancyReadService;
     this.vacancyCommandService = vacancyCommandService;
     this.tokenHelper           = tokenHelper;
     this.optionReadService     = optionReadService;
 }
Пример #2
0
 public UserReadService(IUserRepository userRepository, IMapper mapper,
                        IMapAPIReadService mapAPIReadService, IReviewReadService reviewReadService, IVacancyReadService vacancyReadService)
 {
     _userRepository         = userRepository;
     _mapper                 = mapper;
     this.queryBuilder       = new QueryBuilder();
     this.mapAPIReadService  = mapAPIReadService;
     this.reviewReadService  = reviewReadService;
     this.vacancyReadService = vacancyReadService;
 }
 public VacanciesController(IVacancyReadService vacancyReadService, IVacancyCommandService vacancyCommandService)
 {
     this.vacancyReadService    = vacancyReadService;
     this.vacancyCommandService = vacancyCommandService;
 }