Beispiel #1
0
 public CompaniesController(ICompanyReadService companyReadService, ICompanyCommandService companyCommandService,
                            IReviewReadService reviewReadService, IConfiguration config)
 {
     this.companyReadService    = companyReadService;
     this.companyCommandService = companyCommandService;
     this.reviewReadService     = reviewReadService;
     this.config = config;
 }
 public UsersController(IUserReadService userReadService, IUserCommandService userCommandService, IVacancyCommandService vacancyCommandService, IVacancyReadService vacancyReadService, ITokenHelper tokenHelper, IOptionReadService optionReadService, IReviewReadService reviewReadService)
 {
     this.userReadService       = userReadService;
     this.userCommandService    = userCommandService;
     this.vacancyReadService    = vacancyReadService;
     this.vacancyCommandService = vacancyCommandService;
     this.tokenHelper           = tokenHelper;
     this.optionReadService     = optionReadService;
     this.reviewReadService     = reviewReadService;
 }
 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 ReviewCommandService(IReviewRepository reviewRepository, IMapper mapper, IReviewReadService reviewReadService)
 {
     _reviewRepository  = reviewRepository;
     _mapper            = mapper;
     _reviewReadService = reviewReadService;
 }
Beispiel #5
0
 public ReviewsController(IReviewReadService reviewReadService, IReviewCommandService reviewCommandService, IHostingEnvironment environment)
 {
     _reviewReadService    = reviewReadService;
     _reviewCommandService = reviewCommandService;
     _environment          = environment;
 }