public RentalsController( UserManager <User> userManager, IOwnerRentalService rentalService) { this.userManager = userManager; this.rentalService = rentalService; }
public RequestsController( UserManager <User> userManager, IOwnerRequestService requestService, IOwnerRentalService rentalService, IOwnerListingService listingService) { this.userManager = userManager; this.requestService = requestService; this.rentalService = rentalService; this.listingService = listingService; }
public TransactionRequestsController( ApplicationDbContext context, UserManager <User> userManager, IOwnerRentalService rentalService, IOwnerListingService listingService, IOwnerTransactionRequestService transactionRequestService, IPaymentCommonService paymentService) { this.context = context; this.userManager = userManager; this.rentalService = rentalService; this.listingService = listingService; this.transactionRequestService = transactionRequestService; this.paymentService = paymentService; }
public DashboardController( IOwnerListingService listingService, IOwnerRequestService requestService, IOwnerRentalService rentalService, IOwnerPaymentService paymentService, IOwnerTransactionRequestService transactionRequestService, UserManager <User> userManager) { this.listingService = listingService; this.requestService = requestService; this.rentalService = rentalService; this.paymentService = paymentService; this.transactionRequestService = transactionRequestService; this.userManager = userManager; }