public PromotionDataService(IPromotionService promotionService, ICouponService couponService, IPromotionBrandRelationRepository promotionBrandRelationRepository, IPromotionRepository promotionRepository, IFavoriteService favoriteService, IShareService shareService, ICouponDataService couponDataService, IResourceService resourceService) { _promotionRepository = promotionRepository; _favoriteService = favoriteService; _shareService = shareService; _couponDataService = couponDataService; _resourceService = resourceService; _promotionBrandRelationRepository = promotionBrandRelationRepository; _couponService = couponService; _promotionService = promotionService; }
public PromotionDataService(IPromotionService promotionService, ICouponService couponService, IPromotionBrandRelationRepository promotionBrandRelationRepository, IPromotionRepository promotionRepository, IFavoriteService favoriteService, IShareService shareService, ICouponDataService couponDataService, IResourceService resourceService) { _promotionRepository = promotionRepository; _favoriteService = favoriteService; _shareService = shareService; _couponDataService = couponDataService; _resourceService = resourceService; _promotionBrandRelationRepository = promotionBrandRelationRepository; _couponService = couponService; _promotionService = promotionService; }
public MappingManagerV2() { //注意 只能 查询不能有修改操作 _userAccountRepository = ServiceLocator.Current.Resolve<IUserAccountRepository>(); _vUserRoleRepository = ServiceLocator.Current.Resolve<IVUserRoleRepository>(); _promotionBrandRelationRepository = ServiceLocator.Current.Resolve<IPromotionBrandRelationRepository>(); _likeRepository = ServiceLocator.Current.Resolve<ILikeRepository>(); _couponRepository = ServiceLocator.Current.Resolve<ICouponRepository>(); _favoriteRepository = ServiceLocator.Current.Resolve<IFavoriteRepository>(); _pointRepository = ServiceLocator.Current.Resolve<IPointRepository>(); }