public TransactionController(UserManager <VendorUser> vendorUserManager, ILeaseRepository leaseRepository, UserManager <ApplicationUser> userManager, IRentalAssetRepository rentalAssetRepository, ITransactionRepository transactionRepository, IActiveLeaseRepository activeLeaseRepository) { _leaseRepository = leaseRepository; _rentalAssetRepository = rentalAssetRepository; _userManager = userManager; _transactionRepository = transactionRepository; _activeLeaseRepository = activeLeaseRepository; _vendorUserManager = vendorUserManager; }
public RentalAssetController(IInvoiceRepository invoiceRepository, UserManager <ApplicationUser> userManager, ICategoryRepository categoryRepository, IWebHostEnvironment webHostEnvironment, IRentalAssetRepository rentalAssetRepository, IImageRepository imageRepository, IActiveLeaseRepository activeLeaseRepository, ILeaseRepository leaseRepository) { _categoryRepository = categoryRepository; _webHostEnvironment = webHostEnvironment; _rentalAssetRepository = rentalAssetRepository; _imageRepository = imageRepository; _activeLeaseRepository = activeLeaseRepository; _leaseRepository = leaseRepository; _userManager = userManager; _invoiceRepository = invoiceRepository; }