Пример #1
0
 public WishesController(
     IWishService wishService,
     IWishQueryRepository wishQueryRepository)
 {
     this.wishService         = wishService;
     this.wishQueryRepository = wishQueryRepository;
 }
Пример #2
0
 public BookController(UserManager <ApplicationUser> userManager, IBookService service, IWishService wishService, IGoogleBookService googleBookService,
                       IComicVineService comicVineService) : base(userManager)
 {
     _service           = service;
     _wishService       = wishService;
     _googleBookService = googleBookService;
     _comicVineService  = comicVineService;
 }
Пример #3
0
 public IndexModel(IWishService wishService,
                   IWishViewModelService wishViewModelService,
                   SignInManager <ApplicationUser> signInManager)
 {
     _wishService          = wishService;
     _signInManager        = signInManager;
     _wishViewModelService = wishViewModelService;
 }
Пример #4
0
        public GameController(UserManager <ApplicationUser> userManager, IGameService service, IGiantBombService giantBombService, IBGGService bggService,
                              IWishService wishService) : base(userManager)

        {
            _service          = service;
            _giantBombService = giantBombService;
            _bggService       = bggService;
            _wishService      = wishService;
        }
Пример #5
0
 public InformationController()
 {
     languageServ = new LanguageServiceImpl();
     countryServ  = new CountryServiceImpl();
     levelServ    = new LevelServiceImpl();
     rolServ      = new RolServiceImpl();
     taskServ     = new TaskServiceImpl();
     wishServ     = new WishServiceImpl();
 }
Пример #6
0
 public CheckoutModel(IWishService wishService,
                      IWishViewModelService wishViewModelService,
                      SignInManager <ApplicationUser> signInManager,
                      IOrderService orderService)
 {
     _wishService          = wishService;
     _signInManager        = signInManager;
     _orderService         = orderService;
     _wishViewModelService = wishViewModelService;
 }
Пример #7
0
 public StatisticService(IAlbumService albumService, IBookService bookService, IGameService gameService, IMovieService movieService,
                         IPopService popService,
                         IWishService wishService)
 {
     _albumService = albumService;
     _bookService  = bookService;
     _gameService  = gameService;
     _movieService = movieService;
     _popService   = popService;
     _wishService  = wishService;
     _items        = GetAllItems();
 }
Пример #8
0
        public WishView()
        {
            using (var scope = DependencyResolver.Instance().BeginLifetimeScope())
            {
                this.wishService    = scope.Resolve <IWishService>();
                this.productView    = scope.Resolve <IProductView>();
                this.productService = scope.Resolve <IProductService>();
            }

            this.coupons["drop10"] = .1;
            this.coupons["drop20"] = .2;
            this.coupons["drop50"] = .5;
        }
Пример #9
0
 public WishServiceTests()
 {
     _wishService = new WishService(MapperConfig.GetConfiration.CreateMapper(), new FakeIEmailSender(), new WishRepository(GetFakeContextWithWishes()));
 }
Пример #10
0
 public WishesController(IWishService wishService)
 {
     _wishService = wishService;
 }
Пример #11
0
 public HomeController(ILogger <HomeController> logger, IWishService wishService)
 {
     _logger     = logger;
     WishService = wishService;
 }
Пример #12
0
 public WishesController()
 {
     service           = new WishService();
     KidService        = new KidService();
     FundRaiserService = new FundRaiserService();
 }
 public WishListController(IWishService wishService)
 {
     WishService = wishService;
 }
Пример #14
0
 public WishController(IWishService wishService)
 {
     this.wishService = wishService;
 }
Пример #15
0
 public WishesController(IWishService service)
 {
     this._service = service;
 }
Пример #16
0
 public WishesController(IWishService wishService, IMapper mapper)
 {
     _wishService = wishService;
     _mapper      = mapper;
 }
Пример #17
0
 public DonationsController()
 {
     service     = new DonationService();
     wishService = new WishService();
 }
Пример #18
0
 public WishController(IWishService service)
 {
     _service = service;
 }
Пример #19
0
 public MovieController(UserManager <ApplicationUser> userManager, IMovieService service, ITMDBService tmdbService, IWishService wishService) : base(userManager)
 {
     _service     = service;
     _tmdbService = tmdbService;
     _wishService = wishService;
 }
Пример #20
0
 public AlbumController(UserManager <ApplicationUser> userManager, IAlbumService service, IDiscogsService discogsService, IWishService wishService) : base(userManager)
 {
     _service        = service;
     _discogsService = discogsService;
     _wishService    = wishService;
 }
Пример #21
0
 public WishController(UserManager <ApplicationUser> userManager, IWishService service) : base(userManager)
 {
     _service = service;
 }
Пример #22
0
 public WishesController(IWishService wishService, IImageService imageService)
 {
     this.wishService  = wishService;
     this.imageService = imageService;
 }
Пример #23
0
 public ListController(IWishService wishService, IUserService userService)
 {
     _wishService = wishService;
     _userService = userService;
 }
Пример #24
0
 public PopController(UserManager <ApplicationUser> userManager, IPopService service, IWishService wishService) : base(userManager)
 {
     _service     = service;
     _wishService = wishService;
 }
Пример #25
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="wishService"></param>
 public WishController(IWishService wishService)
 {
     _wishService = wishService;
 }