Пример #1
0
 public PaymentController(ICardService cardService, ITransactionsService transactionsService,
                          UserManager <User> userManager, IServiceService serviceService, ILogger logger,
                          IBankAccountService accounts, IBankServService service, IPaymentService paymentService, ITripService tripService,
                          ITicketService ticketService, IBusDestinationService busDestinationService)
 {
     _cardService         = cardService;
     _transactionsService = transactionsService;
     _userManager         = userManager;
     _accountService      = accounts;
     _serviceService      = serviceService;
     _servicesRepo        = service;
     _logger                = logger;
     _paymentService        = paymentService;
     _tripService           = tripService;
     _ticketService         = ticketService;
     _busDestinationService = busDestinationService;
 }
 public BusDestinationController(IBusDestinationService busDestinationService)
 {
     _busDestinationService = busDestinationService;
 }