Exemple #1
0
 public TenantLeaseController(IRepository <TenantLease> tenantLeaseRepository,
                              IRepository <TenantLeasePaymentSchedule> tenantLeasePaymentScheduleRepository,
                              IRepository <TenantLeaseCharge> tenantLeaseChargeRepository,
                              IRepository <TenantPayment> tenantPaymentRepository,
                              IRepository <Assignment> assignmentRepository,
                              IRepository <AssignmentHistory> assignmentHistoryRepository,
                              ITenantLeaseService tenantLeaseService,
                              ITenantPaymentService tenantPaymentService,
                              IAutoNumberService autoNumberService,
                              IDateTimeHelper dateTimeHelper,
                              ILocalizationService localizationService,
                              IPermissionService permissionService,
                              HttpContextBase httpContext,
                              IWorkContext workContext,
                              IDbContext dbContext)
 {
     this._tenantLeaseRepository = tenantLeaseRepository;
     this._tenantLeasePaymentScheduleRepository = tenantLeasePaymentScheduleRepository;
     this._tenantLeaseChargeRepository          = tenantLeaseChargeRepository;
     this._tenantPaymentRepository     = tenantPaymentRepository;
     this._assignmentRepository        = assignmentRepository;
     this._assignmentHistoryRepository = assignmentHistoryRepository;
     this._localizationService         = localizationService;
     this._tenantLeaseService          = tenantLeaseService;
     this._tenantPaymentService        = tenantPaymentService;
     this._autoNumberService           = autoNumberService;
     this._dateTimeHelper    = dateTimeHelper;
     this._permissionService = permissionService;
     this._httpContext       = httpContext;
     this._workContext       = workContext;
     this._dbContext         = dbContext;
 }
Exemple #2
0
 public TenantPaymentController(IRepository <TenantPayment> tenantPaymentRepository,
                                IRepository <Tenant> tenantRepository,
                                IRepository <TenantPaymentCollection> tenantPaymentCollectionRepository,
                                ITenantPaymentService tenantPaymentService,
                                IDateTimeHelper dateTimeHelper,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                HttpContextBase httpContext,
                                IWorkContext workContext,
                                IDbContext dbContext)
 {
     this._tenantPaymentRepository           = tenantPaymentRepository;
     this._tenantRepository                  = tenantRepository;
     this._tenantPaymentCollectionRepository = tenantPaymentCollectionRepository;
     this._dateTimeHelper       = dateTimeHelper;
     this._localizationService  = localizationService;
     this._tenantPaymentService = tenantPaymentService;
     this._permissionService    = permissionService;
     this._httpContext          = httpContext;
     this._workContext          = workContext;
     this._dbContext            = dbContext;
 }