Ejemplo n.º 1
0
 public WishesController(
     IWishService wishService,
     IWishQueryRepository wishQueryRepository)
 {
     this.wishService         = wishService;
     this.wishQueryRepository = wishQueryRepository;
 }
Ejemplo n.º 2
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;
 }