示例#1
0
 public GiftsController()
 {
     _iGiftService        = ServiceApplication.Create <IGiftService>();
     _iGiftsOrderService  = ServiceApplication.Create <IGiftsOrderService>();
     _iMemberService      = ServiceApplication.Create <IMemberService>();
     _iMemberGradeService = ServiceApplication.Create <IMemberGradeService>();
 }
示例#2
0
 public GiftController()
 {
     giftser  = ServiceHelper.Create <IGiftService>();
     orderser = ServiceHelper.Create <IGiftsOrderService>();
     Mapper.CreateMap <GiftInfo, GiftViewModel>();
     Mapper.CreateMap <GiftViewModel, GiftInfo>();
 }
示例#3
0
 public HomeController(IGiftService giftService, IProviderService providerService, ITagService tagService, ApplicationDbContext db)
 {
     _giftService     = giftService;
     _providerService = providerService;
     _tagService      = tagService;
     _db = db;
 }
示例#4
0
 public GiftController(IGiftService iGiftService, IGiftsOrderService iGiftsOrderService, IMemberService iMemberService, IMemberGradeService iMemberGradeService)
 {
     _iGiftService        = iGiftService;
     _iGiftsOrderService  = iGiftsOrderService;
     _iMemberService      = iMemberService;
     _iMemberGradeService = iMemberGradeService;
 }
示例#5
0
 public GiftsController()
 {
     _iGiftService        = ServiceHelper.Create <IGiftService>();
     _iGiftsOrderService  = ServiceHelper.Create <IGiftsOrderService>();
     _iMemberService      = ServiceHelper.Create <IMemberService>();
     _iMemberGradeService = ServiceHelper.Create <IMemberGradeService>();
 }
示例#6
0
 public GiftController(IPopupService popupService, IEntityRepository entityRepository, IWalletRepository walletRepository,
                       IEquipmentRepository equipmentRepository, IGiftService giftService, ITransactionScopeProvider transactionScopeProvider) : base(popupService)
 {
     this.entityRepository         = entityRepository;
     this.walletRepository         = walletRepository;
     this.equipmentRepository      = equipmentRepository;
     this.giftService              = giftService;
     this.transactionScopeProvider = transactionScopeProvider;
 }
示例#7
0
 public BuyUserController(IQueryableRepository <Gift> giftQueryableRepository, IQueryableRepository <Brand> brandQueryableRepository, IQueryableRepository <Category> categoryQueryableRepository, IGiftService giftService, IBuyService buyService, IQueryableRepository <User> userQueryableRepository)
 {
     _giftQueryableRepository     = giftQueryableRepository;
     _brandQueryableRepository    = brandQueryableRepository;
     _categoryQueryableRepository = categoryQueryableRepository;
     _giftService             = giftService;
     _buyService              = buyService;
     _userQueryableRepository = userQueryableRepository;
 }
示例#8
0
 public HomeController(ILogger <HomeController> logger,
                       IGreetingsService greetingsService,
                       IGuestResponseService guestResponseService,
                       IGiftService giftService)
 {
     _logger               = logger;
     _greetingsService     = greetingsService;
     _guestResponseService = guestResponseService;
     _giftService          = giftService;
 }
示例#9
0
 public GiftsController(IProductService iProductService, ITypeService iTypeService
                        , IGiftService iGiftService, ICouponService iCouponService, IVShopService iVShopService
                        , IGiftsOrderService iGiftsOrderService, IMemberGradeService iMemberGradeService)
 {
     _iProductService     = iProductService;
     _iTypeService        = iTypeService;
     _iGiftService        = iGiftService;
     _iCouponService      = iCouponService;
     _iVShopService       = iVShopService;
     _iGiftsOrderService  = iGiftsOrderService;
     _iMemberGradeService = iMemberGradeService;
 }
        /// <summary>
        /// Initializes a new instance of the DispatchedGiftService class
        /// </summary>
        /// <param name="wrappedService">the wrapped service</param>
        /// <param name="dispatcher">the thread dispatcher</param>
        public DispatchedGiftService(IGiftService wrappedService, Dispatcher dispatcher)
            : base(dispatcher)
        {
            if (wrappedService == null)
            {
                throw new ArgumentNullException("wrappedService");
            }

            this.wrappedService = wrappedService;

            this.wrappedService.GetGiftGuideListingsCompleted += (s, e) => this.DispatchEvent(this.GetGiftGuideListingsCompleted, s, e);
            this.wrappedService.GetGiftGuidesCompleted += (s, e) => this.DispatchEvent(this.GetGiftGuidesCompleted, s, e);
        }
示例#11
0
        public AdminController(

            SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager,
            ITagService tagService, IProviderService providerService, IGiftService giftService,
            IHostingEnvironment environment, IDataCollectorService dataCollectorService)
        {
            _signInManager        = signInManager;
            _userManager          = userManager;
            _tagService           = tagService;
            _providerService      = providerService;
            _giftService          = giftService;
            _environment          = environment;
            _dataCollectorService = dataCollectorService;
        }
示例#12
0
 public GiftOrderController(
     IGiftService iGiftService,
     IGiftsOrderService iGiftsOrderService,
     IMemberService iMemberService,
     IShippingAddressService iShippingAddressService,
     IMemberGradeService iMemberGradeService
     )
 {
     _iGiftService            = iGiftService;
     _iGiftsOrderService      = iGiftsOrderService;
     _iMemberService          = iMemberService;
     _iShippingAddressService = iShippingAddressService;
     _iMemberGradeService     = iMemberGradeService;
 }
示例#13
0
        public GiftController(IGiftService iGiftService, IGiftsOrderService iGiftsOrderService,
                              IMemberGradeService iMemberGradeService, IExpressService iExpressService, ISlideAdsService iSlideAdsService)
        {
            _iGiftService        = iGiftService;
            _iGiftsOrderService  = iGiftsOrderService;
            _iExpressService     = iExpressService;
            _iMemberGradeService = iMemberGradeService;
            _iSlideAdsService    = iSlideAdsService;


            #region 数据关系映射
            Mapper.CreateMap <GiftInfo, GiftViewModel>();
            Mapper.CreateMap <GiftViewModel, GiftInfo>();
            #endregion
        }
示例#14
0
 public ManageController(
     IUsersService users, 
     IChildService children, 
     IGiftService gifts, 
     ICategoryService categories, 
     INeedService needs,
     InMemoryCache cache)
     : base(users)
 {
     this.children = children;
     this.gifts = gifts;
     this.categories = categories;
     this.needs = needs;
     this.cache = cache;
 }
示例#15
0
 public UserHomeController(ISaleService saleService, IProductService productService, ICustomerService customerService, IUserService userService, IGiftService giftService, IBuyService buyService, ICampaignService campaignService, IQueryableRepository <Sale> saleQueryableRepository, IQueryableRepository <Product> productQueryableRepository, IQueryableRepository <Customer> customerQueryableRepository, IQueryableRepository <Gift> giftQueryableRepository, IQueryableRepository <Buy> buyQueryableRepository, IQueryableRepository <User> userQueryableRepository, IQueryableRepository <Campaign> campaignQueryableRepository, IQueryableRepository <Score> scroreQueryableRepository)
 {
     _saleService                 = saleService;
     _productService              = productService;
     _customerService             = customerService;
     _userService                 = userService;
     _giftService                 = giftService;
     _buyService                  = buyService;
     _campaignService             = campaignService;
     _productQueryableRepository  = productQueryableRepository;
     _customerQueryableRepository = customerQueryableRepository;
     _giftQueryableRepository     = giftQueryableRepository;
     _buyQueryableRepository      = buyQueryableRepository;
     _userQueryableRepository     = userQueryableRepository;
     _campaignQueryableRepository = campaignQueryableRepository;
     _scroreQueryableRepository   = scroreQueryableRepository;
     _saleQueryableRepository     = saleQueryableRepository;
 }
示例#16
0
 public GiftsController(IGiftService gifts)
 {
     this.gifts = gifts;
 }
 public IntegralMallController(ICouponService iCouponService, IGiftService iGiftService)
 {
     _iCouponService = iCouponService;
     _iGiftService   = iGiftService;
 }
示例#18
0
 public GiftController(IUsersService users, IGiftService gifts, IDropDownListPopulator populator)
     : base(users)
 {
     this.gifts = gifts;
     this.populator = populator;
 }
示例#19
0
 public CreateGiftCommand(IGiftService giftService)
 {
     _giftService = giftService;
 }
示例#20
0
 public GiftModule(IGiftService giftService)
 {
     this.giftService = giftService;
 }
示例#21
0
 public GiftController()
 {
     giftser  = ServiceHelper.Create <IGiftService>();
     orderser = ServiceHelper.Create <IGiftsOrderService>();
 }
示例#22
0
 public GiftController(IUserService iUserService, IGiftService iGiftService)
     : base(iUserService)
 {
     _giftService = iGiftService;
 }
示例#23
0
 public PollStateFactory(IStateMachine stateMachine, IGiftService giftService)
 {
     _giftService  = giftService;
     _stateMachine = stateMachine;
 }
示例#24
0
 public GiftsController(IGiftService giftService, IMapper mapper)
 {
     GiftService = giftService;
     Mapper      = mapper;
 }
示例#25
0
 public GetGiftState(IStateMachine stateMachine, IGiftService giftService)
 {
     _stateMachine = stateMachine;
     _giftService  = giftService;
 }
示例#26
0
 public IntegralMallController()
 {
     couponser = ServiceHelper.Create <ICouponService>();
     giftser   = ServiceHelper.Create <IGiftService>();
 }
示例#27
0
 public HomeController(IGiftService iGiftService)
 {
     _giftService = iGiftService;
 }
示例#28
0
 public GiftController(IEventService eventService, IGiftService giftService)
 {
     this.eventService = eventService;
     this.giftService  = giftService;
 }
示例#29
0
 public GiftController(IUserService iUserService, IGiftService iGiftService)
     : base(iUserService)
 {
     _giftService = iGiftService;
 }
示例#30
0
 public GiftController(IGiftService giftService, IQueryableRepository <Gift> queryableRepository, IQueryableRepository <vwRP_StockCount> totalRowsRepository)
 {
     _giftService         = giftService;
     _queryableRepository = queryableRepository;
     _totalRowsRepository = totalRowsRepository;
 }
 public InstitutionController(IUsersService users, IHomeService homes, IGiftService gifts)
     : base(users)
 {
     this.homes = homes;
     this.gifts = gifts;
 }
示例#32
0
 public HomeController(IGiftService iGiftService)
 {
     _giftService = iGiftService;
 }
示例#33
0
 public ShowGiftsCommand(IGiftService giftService)
 {
     _giftService = giftService;
 }
示例#34
0
 public GiftController(IGiftService giftService)
 {
     this._giftService = giftService;
 }
 public GuestCRUDController(IGuestResponseService guestResponseService, IGiftService giftService)
 {
     _guestResponseService = guestResponseService;
     _giftService          = giftService;
 }