public BusinessSectorsController(IUnitOfWork unitOfWork, IBusinessSectorRepository businessSectorRepository, IRedisConnectionFactory cache, IMediator mediator) { _unitOfWork = unitOfWork; _businessSectorRepository = businessSectorRepository; _cache = cache; _mediator = mediator; }
public BusinessSectorsCommandsHandler( ILogger <BusinessSectorsCommandsHandler> logger, IIdentityService identityService, IUnitOfWork unitOfWork, IMapper mapper, IBusinessSectorRepository businessSectorConfigurationRepository) { _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _businessSectorRepository = businessSectorConfigurationRepository ?? throw new ArgumentNullException(nameof(businessSectorConfigurationRepository)); }
public OfferService(ITownRepository townRepository, IBusinessSectorRepository businessSectorRepository, IJobOfferRepository jobOfferRepository) { this._townRepository = townRepository; this._businessSectorRepository = businessSectorRepository; this._jobOfferRepository = jobOfferRepository; }
public BusinessSectorService(IBusinessSectorRepository sectorRepository) { this.sectorRepository = sectorRepository; }