Пример #1
0
 public HotelPromotionService(IRepositoryContext context, IHotelPromotionRepository <TAgregate> hotelPromotionRepository
                              , IHotelRepository hotelRepository
                              , ICustomerRoleRepository customerRoleRepository
                              , IHotelRoomCategoryRepository hotelRoomCategoryRepository
                              , IHotelPromotionCustomerRoleService hotelPromotionCustomerRoleService
                              , IHotelPromotionRoomCategoryService hotelPromotionRoomCategoryService) : base(context)
 {
     this.hotelPromotionRepository          = hotelPromotionRepository;
     this.hotelRepository                   = hotelRepository;
     this.customerRoleRepository            = customerRoleRepository;
     this.hotelRoomCategoryRepository       = hotelRoomCategoryRepository;
     this.hotelPromotionCustomerRoleService = hotelPromotionCustomerRoleService;
     this.hotelPromotionRoomCategoryService = hotelPromotionRoomCategoryService;
 }
Пример #2
0
 public DiscountPromotionService(IRepositoryContext context
                                 , IDiscountPromotionRepository hotelPromotionRepository
                                 , IHotelRepository hotelRepository
                                 , ICustomerRoleRepository customerRoleRepository
                                 , IHotelRoomCategoryRepository hotelRoomCategoryRepository
                                 , IHotelPromotionCustomerRoleService hotelPromotionCustomerRoleService
                                 , IHotelPromotionRoomCategoryService hotelPromotionRoomCategoryService)
     : base(context
            , hotelPromotionRepository
            , hotelRepository
            , customerRoleRepository
            , hotelRoomCategoryRepository
            , hotelPromotionCustomerRoleService
            , hotelPromotionRoomCategoryService)
 {
 }