コード例 #1
0
 public TitleService(IUnitOfWork unitOfWork, ITitleRepository titleRepository, IRentalHistoryRepository rentalHistoryRepository)
     : base(unitOfWork, titleRepository)
 {
     _unitOfWork              = unitOfWork;
     _titleRepository         = titleRepository;
     _rentalHistoryRepository = rentalHistoryRepository;
 }
コード例 #2
0
 public LookupService(
     IAddressRepository addressRepository,
     IAddressTypeRepository addressTypeRepository,
     ICustomerRepository customerRepository,
     IFileStoreRepository fileStoreRepository,
     IFilmContributorRepository filmContributorRepository,
     IFilmContributorTypeRepository filmContributorTypeRepository,
     IFormatTypeRepository formatTypeRepository,
     IInventoryItemFileStoreRepository inventoryItemFileStoreRepository,
     IInventoryItemFilmContributorRepository inventoryItemFilmContributorRepository,
     IInventoryItemFormatTypeRepository inventoryItemFormatTypeRepository,
     IInventoryItemItemTypeRepository inventoryItemItemTypeRepository,
     IInventoryItemPurchaseTypeRepository inventoryItemPurchaseTypeRepository,
     IInventoryItemRatingRepository inventoryItemRatingRepository,
     IInventoryItemRepository inventoryItemRepository,
     IInventoryItemReviewRepository inventoryItemReviewRepository,
     IInventoryItemTagRepository inventoryItemTagRepository,
     IItemTypeRepository itemTypeRepository,
     IPaymentInformationRepository paymentInformationRepository,
     IPurchaseTypeRepository purchaseTypeRepository,
     IRelatedItemRepository relatedItemRepository,
     IRentalHistoryRepository rentalHistoryRepository)
 {
     _addressRepository                      = addressRepository;
     _addressTypeRepository                  = addressTypeRepository;
     _customerRepository                     = customerRepository;
     _fileStoreRepository                    = fileStoreRepository;
     _filmContributorRepository              = filmContributorRepository;
     _filmContributorTypeRepository          = filmContributorTypeRepository;
     _formatTypeRepository                   = formatTypeRepository;
     _inventoryItemFileStoreRepository       = inventoryItemFileStoreRepository;
     _inventoryItemFilmContributorRepository = inventoryItemFilmContributorRepository;
     _inventoryItemFormatTypeRepository      = inventoryItemFormatTypeRepository;
     _inventoryItemItemTypeRepository        = inventoryItemItemTypeRepository;
     _inventoryItemPurchaseTypeRepository    = inventoryItemPurchaseTypeRepository;
     _inventoryItemRatingRepository          = inventoryItemRatingRepository;
     _inventoryItemRepository                = inventoryItemRepository;
     _inventoryItemReviewRepository          = inventoryItemReviewRepository;
     _inventoryItemTagRepository             = inventoryItemTagRepository;
     _itemTypeRepository                     = itemTypeRepository;
     _paymentInformationRepository           = paymentInformationRepository;
     _purchaseTypeRepository                 = purchaseTypeRepository;
     _relatedItemRepository                  = relatedItemRepository;
     _rentalHistoryRepository                = rentalHistoryRepository;
 }
コード例 #3
0
 public RentalHistoryService(IUnitOfWork unitOfWork, IRentalHistoryRepository rentalHistoryRepository)
     : base(unitOfWork, rentalHistoryRepository)
 {
     _unitOfWork = unitOfWork;
     _rentalHistoryRepository = rentalHistoryRepository;
 }