示例#1
0
 public HomeController(ILogger <HomeController> logger,
                       ICustomerProfileRepository customerProfileRepository
                       )
 {
     _customerProfileRepository = customerProfileRepository;
     _logger = logger;
 }
示例#2
0
 public UserService(UserManager <User> userManager, ISendMessageService <EmailMessage> sendingService, ICustomerProfileRepository customerRep, IEmployeeProfileRepository employeeRep)
 {
     _userManager    = userManager;
     _customerRep    = customerRep;
     _employeeRep    = employeeRep;
     _sendingService = sendingService;
 }
示例#3
0
 public JobService(IJobRepository jobRep, UserManager <User> userManager, ICustomerProfileRepository customerRep, IEmployeeProfileRepository employeeRep, ISkillRepository skillRep)
 {
     _jobRepository      = jobRep;
     _userManager        = userManager;
     _customerRepository = customerRep;
     _skillRepository    = skillRep;
 }
 public CustomerProfileService(
     ICustomerProfileRepository customerProfileRepository,
     ILogFactory logFactory,
     ICurrencyConvertorService currencyConvertorService)
 {
     _customerProfileRepository = customerProfileRepository ?? throw new ArgumentNullException(nameof(customerProfileRepository));
     _currencyConvertorService  = currencyConvertorService ?? throw new ArgumentNullException(nameof(currencyConvertorService));
     _log = logFactory.CreateLog(this);
 }
 public CustomerProfileService(
     ICustomerProfileRepository customerProfileRepository,
     IDictionariesClient dictionariesClient,
     IRabbitPublisher <EmailVerifiedEvent> emailVerifiedPublisher,
     IRabbitPublisher <CustomerPhoneVerifiedEvent> phoneVerifiedPublisher,
     IRabbitPublisher <CustomerProfileDeactivationRequestedEvent> deactivationRequestedPublisher,
     ITransactionRunner transactionRunner,
     ILogFactory logFactory)
 {
     _customerProfileRepository      = customerProfileRepository;
     _dictionariesClient             = dictionariesClient;
     _emailVerifiedPublisher         = emailVerifiedPublisher;
     _phoneVerifiedPublisher         = phoneVerifiedPublisher;
     _deactivationRequestedPublisher = deactivationRequestedPublisher;
     _transactionRunner = transactionRunner;
     _log = logFactory.CreateLog(this);
 }
 public CustomerProfileService(ICustomerProfileRepository customerProfileRepository)
 {
     this._customerProfileRepository = customerProfileRepository;
 }
 public CustomerProfilesController(ICustomerProfileRepository customerprofileRepository)
 {
     this.customerprofileRepository = customerprofileRepository;
 }
示例#8
0
 public CustomerProfileController(ICustomerProfileRepository customerProfileRepository)
 {
     _customerProfileRepository = customerProfileRepository;
 }
 public CustomerProfileController(ILogger <CustomerProfileController> logger, ICustomerProfileRepository repository)
 {
     _logger     = logger;
     _repository = repository;
 }
 public ReservationsController(IPlaygroundRepository playgroundRepository, ICustomerProfileRepository customerprofileRepository, IReservationRepository reservationRepository)
 {
     this.playgroundRepository = playgroundRepository;
     this.customerprofileRepository = customerprofileRepository;
     this.reservationRepository = reservationRepository;
 }
 public CustomerProfileService(ICustomerProfileRepository customerRep, UserManager <User> userManager)
 {
     _customerRepository = customerRep;
     _userManager        = userManager;
 }
示例#12
0
 public StatisticsService(ICustomerProfileRepository customerProfileRepository)
 {
     _customerProfileRepository = customerProfileRepository;
 }
 public CustomersController(IMapper mapper, ICustomerProfileRepository repository)
 {
     this._mapper     = mapper;
     this._repository = repository;
 }