public PaymentsController( IPaymentsService paymentsService, IReservationsService reservationsService, IReservationPaymentsService reservationPaymentsService, IPaymentTypesService paymentTypesService) { this.paymentsService = paymentsService; this.reservationsService = reservationsService; this.reservationPaymentsService = reservationPaymentsService; this.paymentTypesService = paymentTypesService; }
public ReservationsController( IReservationsService reservationsService, IReservationStatusesService reservationStatusesService, IPaymentsService paymentsService, IReservationPaymentsService reservationPaymentsService, IEmailSender emailSender, UserManager <HotelUser> userManager) { this.reservationsService = reservationsService; this.reservationStatusesService = reservationStatusesService; this.paymentsService = paymentsService; this.reservationPaymentsService = reservationPaymentsService; this.emailSender = emailSender; this.userManager = userManager; }