Beispiel #1
0
 public GiftsController()
 {
     _iGiftService        = ServiceApplication.Create <IGiftService>();
     _iGiftsOrderService  = ServiceApplication.Create <IGiftsOrderService>();
     _iMemberService      = ServiceApplication.Create <IMemberService>();
     _iMemberGradeService = ServiceApplication.Create <IMemberGradeService>();
 }
Beispiel #2
0
 public GiftController()
 {
     giftser  = ServiceHelper.Create <IGiftService>();
     orderser = ServiceHelper.Create <IGiftsOrderService>();
     Mapper.CreateMap <GiftInfo, GiftViewModel>();
     Mapper.CreateMap <GiftViewModel, GiftInfo>();
 }
Beispiel #3
0
 public HomeController(IGiftService giftService, IProviderService providerService, ITagService tagService, ApplicationDbContext db)
 {
     _giftService     = giftService;
     _providerService = providerService;
     _tagService      = tagService;
     _db = db;
 }
Beispiel #4
0
 public GiftController(IGiftService iGiftService, IGiftsOrderService iGiftsOrderService, IMemberService iMemberService, IMemberGradeService iMemberGradeService)
 {
     _iGiftService        = iGiftService;
     _iGiftsOrderService  = iGiftsOrderService;
     _iMemberService      = iMemberService;
     _iMemberGradeService = iMemberGradeService;
 }
Beispiel #5
0
 public GiftsController()
 {
     _iGiftService        = ServiceHelper.Create <IGiftService>();
     _iGiftsOrderService  = ServiceHelper.Create <IGiftsOrderService>();
     _iMemberService      = ServiceHelper.Create <IMemberService>();
     _iMemberGradeService = ServiceHelper.Create <IMemberGradeService>();
 }
 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;
 }
Beispiel #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;
 }
Beispiel #8
0
 public HomeController(ILogger <HomeController> logger,
                       IGreetingsService greetingsService,
                       IGuestResponseService guestResponseService,
                       IGiftService giftService)
 {
     _logger               = logger;
     _greetingsService     = greetingsService;
     _guestResponseService = guestResponseService;
     _giftService          = giftService;
 }
Beispiel #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);
        }
Beispiel #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;
        }
Beispiel #12
0
 public GiftOrderController(
     IGiftService iGiftService,
     IGiftsOrderService iGiftsOrderService,
     IMemberService iMemberService,
     IShippingAddressService iShippingAddressService,
     IMemberGradeService iMemberGradeService
     )
 {
     _iGiftService            = iGiftService;
     _iGiftsOrderService      = iGiftsOrderService;
     _iMemberService          = iMemberService;
     _iShippingAddressService = iShippingAddressService;
     _iMemberGradeService     = iMemberGradeService;
 }
        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
        }
 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;
 }
Beispiel #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;
 }
 public GiftsController(IGiftService gifts)
 {
     this.gifts = gifts;
 }
 public IntegralMallController(ICouponService iCouponService, IGiftService iGiftService)
 {
     _iCouponService = iCouponService;
     _iGiftService   = iGiftService;
 }
 public GiftController(IUsersService users, IGiftService gifts, IDropDownListPopulator populator)
     : base(users)
 {
     this.gifts = gifts;
     this.populator = populator;
 }
 public CreateGiftCommand(IGiftService giftService)
 {
     _giftService = giftService;
 }
Beispiel #20
0
 public GiftModule(IGiftService giftService)
 {
     this.giftService = giftService;
 }
Beispiel #21
0
 public GiftController()
 {
     giftser  = ServiceHelper.Create <IGiftService>();
     orderser = ServiceHelper.Create <IGiftsOrderService>();
 }
Beispiel #22
0
 public GiftController(IUserService iUserService, IGiftService iGiftService)
     : base(iUserService)
 {
     _giftService = iGiftService;
 }
Beispiel #23
0
 public PollStateFactory(IStateMachine stateMachine, IGiftService giftService)
 {
     _giftService  = giftService;
     _stateMachine = stateMachine;
 }
Beispiel #24
0
 public GiftsController(IGiftService giftService, IMapper mapper)
 {
     GiftService = giftService;
     Mapper      = mapper;
 }
Beispiel #25
0
 public GetGiftState(IStateMachine stateMachine, IGiftService giftService)
 {
     _stateMachine = stateMachine;
     _giftService  = giftService;
 }
 public IntegralMallController()
 {
     couponser = ServiceHelper.Create <ICouponService>();
     giftser   = ServiceHelper.Create <IGiftService>();
 }
Beispiel #27
0
 public HomeController(IGiftService iGiftService)
 {
     _giftService = iGiftService;
 }
Beispiel #28
0
 public GiftController(IEventService eventService, IGiftService giftService)
 {
     this.eventService = eventService;
     this.giftService  = giftService;
 }
Beispiel #29
0
 public GiftController(IUserService iUserService, IGiftService iGiftService)
     : base(iUserService)
 {
     _giftService = iGiftService;
 }
Beispiel #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;
 }
Beispiel #32
0
 public HomeController(IGiftService iGiftService)
 {
     _giftService = iGiftService;
 }
Beispiel #33
0
 public ShowGiftsCommand(IGiftService giftService)
 {
     _giftService = giftService;
 }
Beispiel #34
0
 public GiftController(IGiftService giftService)
 {
     this._giftService = giftService;
 }
 public GuestCRUDController(IGuestResponseService guestResponseService, IGiftService giftService)
 {
     _guestResponseService = guestResponseService;
     _giftService          = giftService;
 }