public OwnerListingService(
     ApplicationDbContext context,
     UserManager <User> userManager,
     IOwnerRequestService requestService,
     IOwnerContractService contractService)
 {
     this.context         = context;
     this.userManager     = userManager;
     this.requestService  = requestService;
     this.contractService = contractService;
 }
示例#2
0
 public RequestsController(
     UserManager <User> userManager,
     IOwnerRequestService requestService,
     IOwnerRentalService rentalService,
     IOwnerListingService listingService)
 {
     this.userManager    = userManager;
     this.requestService = requestService;
     this.rentalService  = rentalService;
     this.listingService = listingService;
 }
 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;
 }