public ReplyToCommentNotificationHandler(IWishRepository wishRepository, IGiftRepository giftRepository, IProfileRepository profileRepository, ICommentRepository commentRepository)
 {
     _wishRepository    = wishRepository;
     _giftRepository    = giftRepository;
     _profileRepository = profileRepository;
     _commentRepository = commentRepository;
 }
Beispiel #2
0
 public WishesController(IUserRepository repo, IMapper mapper, IWishRepository wishRepo, AppDbContext ctx)
 {
     _repo     = repo;
     _mapper   = mapper;
     _wishRepo = wishRepo;
     _ctx      = ctx;
 }
Beispiel #3
0
 public UnitOfWork(SimpleMusicStoreDbContext db,
                   IAddressRepository addresses,
                   IArtistFollowRepository artistFollows,
                   IArtistRepository artists,
                   ILabelFollowRepository labelFollows,
                   ILabelRepository labels,
                   IOrderRepository orders,
                   IRecordRepository records,
                   IWishRepository wishes,
                   IUserRepository users,
                   ICommentRepository comments,
                   IStockRepository stocks)
 {
     _db           = db;
     Addresses     = addresses;
     ArtistFollows = artistFollows;
     Artists       = artists;
     LabelFollows  = labelFollows;
     Labels        = labels;
     Orders        = orders;
     Records       = records;
     Wishes        = wishes;
     Users         = users;
     Comments      = comments;
     Stocks        = stocks;
 }
Beispiel #4
0
 public WishServers()
 {
     Logger = LogManager.GetLogger(this.GetType());
     wishRepository=new WishRepository();
     userRepository=new UserRepository();
     trackingRepository=new TrackingRepository();
 }
Beispiel #5
0
 public WishService(IWishRepository wishRepository, IUserRepository userRepository, IProductRepository productRepository, IUnitOfWork unitOfWork, IMemoryCache cache)
 {
     _wishRepository    = wishRepository;
     _userRepository    = userRepository;
     _productRepository = productRepository;
     _unitOfWork        = unitOfWork;
     _cache             = cache;
 }
 public WishCommandHandler(IWishRepository wishRepository,
                           IUnitOfWork uow,
                           IMediatorHandler bus,
                           INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications)
 {
     _wishRepository = wishRepository;
     Bus             = bus;
 }
Beispiel #7
0
 // Constructor
 public ProductsController(UserManager <ApplicationUser> mngr, IWishRepository wRpstr, IUserRepository us, IItemRepository itrep)
 {
     // Get the repositories through depedency injection
     manager        = mngr;
     wishRepository = wRpstr;
     userep         = us;
     itemRepository = itrep;
 }
Beispiel #8
0
 public HomeController(
     IItemRepository itemRepo,
     UserManager <ApplicationUser> umngr,
     IUserRepository userRepository,
     IWishRepository wRpstr)
 {
     _itemRepo      = itemRepo;
     manager        = umngr;
     userep         = userRepository;
     wishRepository = wRpstr;
 }
Beispiel #9
0
 public WishService(
     IIndexService <WishModel> indexService,
     IWishRepository wishRepository,
     IWishQueryRepository wishQueryRepository,
     IUserQueryRepository userQueryRepository,
     IProductQueryRepository productQueryRepository,
     IUnitOfWork unitOfWork)
 {
     this.wishRepository         = wishRepository;
     this.indexService           = indexService;
     this.wishQueryRepository    = wishQueryRepository;
     this.userQueryRepository    = userQueryRepository;
     this.productQueryRepository = productQueryRepository;
     this.unitOfWork             = unitOfWork;
 }
Beispiel #10
0
 public WishController(IWishRepository repo)
 {
     WishRepository = repo;
 }
Beispiel #11
0
 public CreateWishUseCase(IWishRepository wishRepository, IDistributedCache cache)
 {
     _wishRepository = wishRepository;
     _cache          = cache;
 }
 public WishListController(IWishRepository wishRepository)
 {
     this.wishRepository = wishRepository;
 }
Beispiel #13
0
 public WishBusinessImpl(IRepository <Wish> repository, IRepository <Product> productRepository, IWishRepository wishRepository) : base(repository)
 {
     _repository        = repository;
     _productRepository = productRepository;
     _wishRepository    = wishRepository;
 }
Beispiel #14
0
 public JoinNotificationHandler(IGiftRepository giftRepository, IWishRepository wishRepository, IProfileRepository profileRepository)
 {
     _giftRepository    = giftRepository;
     _wishRepository    = wishRepository;
     _profileRepository = profileRepository;
 }
Beispiel #15
0
 // Constructor for the controller
 public WishlistApiController(UserManager <ApplicationUser> mngr, IWishRepository wRpstr, IUserRepository us)
 {
     manager        = mngr;
     wishRepository = wRpstr;
     userep         = us;
 }
Beispiel #16
0
 public CloseItemNotificationHandler(IWishRepository wishRepository, IGiftRepository giftRepository, IProfileRepository profileRepository)
 {
     _wishRepository    = wishRepository;
     _giftRepository    = giftRepository;
     _profileRepository = profileRepository;
 }
Beispiel #17
0
 public WishService(IWishRepository repository, IUserRepository userRepository)
 {
     _repository     = repository;
     _userRepository = userRepository;
 }
Beispiel #18
0
 public InterestingController(IProfileRepository repository, IWishRepository wishRepository, IGiftRepository giftRepository)
 {
     _repository     = repository;
     _wishRepository = wishRepository;
     _giftRepository = giftRepository;
 }
Beispiel #19
0
 public WishController(IWishRepository wishRepository, ICountryRepository countryRepository, IFileService fileService, INotificationService notificationService)
 {
     _wishRepository      = wishRepository;
     _fileService         = fileService;
     _notificationService = notificationService;
 }
Beispiel #20
0
 public WishBusiness(IWishRepository wishRepository)
 {
     _wishRepository = wishRepository;
 }
Beispiel #21
0
 public GetWishesUseCase(IWishRepository repository)
 {
     _repository = repository;
 }
Beispiel #22
0
 public WishService(IMapper mapper, IEmailSender emailService, IWishRepository wishRepository)
 {
     _mapper = mapper;
     _emailService = emailService;
     _wishRepository = wishRepository;
 }
Beispiel #23
0
 public TotalClosedNotificationHandler(IWishRepository wishRepository, IProfileRepository profileRepository)
 {
     _wishRepository    = wishRepository;
     _profileRepository = profileRepository;
 }
Beispiel #24
0
 public WishLogic(IWishContext context)
 {
     wishRepository = new WishRepository(context);
 }
Beispiel #25
0
 public WishServiceImpl()
 {
     wishRepo = Factory.GetInstance().GetWish();
 }
 public AddCommentNotificationHandler(IWishRepository wishRepository, IGiftRepository giftRepository, IProfileRepository profileRepository)
 {
     _wishRepository    = wishRepository;
     _giftRepository    = giftRepository;
     _profileRepository = profileRepository;
 }
Beispiel #27
0
 /// <summary>
 /// Cria um novo servico de Wish
 /// </summary>
 /// <param name="wishRepository">Repositorio do servico</param>
 public WishService(IWishRepository wishRepository)
 {
     _wishListRepository = wishRepository;
 }
 public WishListController(IWishRepository wishRepository)
 {
     this.wishRepository = wishRepository;
 }