コード例 #1
0
 public AdminController(IServiceTypeRepository serviceTypeRepository, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, ICategoryRepository categoryRepository, IRentalAssetRepository rentalAssetRepository)
 {
     _roleManager           = roleManager;
     _userManager           = userManager;
     _categoryRepository    = categoryRepository;
     _rentalAssetRepository = rentalAssetRepository;
     _serviceTypeRepository = serviceTypeRepository;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public InvoiceController(IInvoiceRepository invoiceRepository, IRentalAssetRepository rentalAssetRepository)
 {
     _invoiceRepository     = invoiceRepository;
     _rentalAssetRepository = rentalAssetRepository;
 }
コード例 #5
0
 public HomeController(IServiceTypeRepository serviceTypeRepository, IRentalAssetRepository rentalAssetRepository)
 {
     ;
     _serviceTypeRepository = serviceTypeRepository;
     _rentalAssetRepository = rentalAssetRepository;
 }