public OrderService(IOrderRepository orderRepository, IUserRepository userRepository, ITheaterPerformanceRepository theaterPerformanceRepository, IEmailService emailService, IMapper mapper) { _orderRepository = orderRepository; _userRepository = userRepository; _theaterPerformanceRepository = theaterPerformanceRepository; _emailService = emailService; _mapper = mapper; }
public TheaterPerformanceService(IMapper mapper, ITheaterPerformanceRepository theaterPerformanceRepository, IUserAnswerRepository userAnswerRepository, IUserRepository userRepository, ITheaterPerformanceQueryBuilder theaterPerformanceQueryBuilder, IEmailService emailService) { _mapper = mapper; _theaterPerformanceRepository = theaterPerformanceRepository; _userAnswerRepository = userAnswerRepository; _userRepository = userRepository; _emailService = emailService; _query = theaterPerformanceQueryBuilder; }