public PaymentsController( IPaymentsService paymentsService, IReservationsService reservationsService, IReservationPaymentsService reservationPaymentsService, IPaymentTypesService paymentTypesService) { this.paymentsService = paymentsService; this.reservationsService = reservationsService; this.reservationPaymentsService = reservationPaymentsService; this.paymentTypesService = paymentTypesService; }
public AccommodationsController( UserManager <HotelUser> userManager, IRoomsService roomsService, IReservationsService reservationsService, IRoomTypesService roomTypesService, IReservationStatusesService reservationStatusesService, IPaymentTypesService paymentTypesService, IReservationRoomsService reservationRoomsService, IEmailSender emailSender) { this.userManager = userManager; this.roomsService = roomsService; this.reservationsService = reservationsService; this.roomTypesService = roomTypesService; this.reservationStatusesService = reservationStatusesService; this.paymentTypesService = paymentTypesService; this.reservationRoomsService = reservationRoomsService; this.emailSender = emailSender; }
public PaymentTypesController(IPaymentTypesService paymentTypesService) { this.paymentTypesService = paymentTypesService; }