public BidderCheckoutService(IPackageRepository packageRepo,
                              IBidderRepository bidderRepo,
                              IAuctionTransactionFactory factory)
 {
     _packageRepo = packageRepo;
     _bidderRepo = bidderRepo;
     _factory = factory;
 }
 public BidderDeletionService(IBidderRepository repo,
                              IAuctionTransactionFactory factory,
                              IPackageRepository packageRepo)
 {
     _repo = repo;
     _factory = factory;
     _packageRepo = packageRepo;
 }
 public BidderService(IBidderRepository repo,
                      IPackageRepository packageRepo,
                      IBidderValidationService validator,
                      IAuctionTransactionFactory factory)
 {
     _repo = repo;
     _packageRepo = packageRepo;
     _validator = validator;
     _factory = factory;
 }
Esempio n. 4
0
 public AdsController(IBidderRepository repo)
 {
     _repo = repo;
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BidderService"/> class.
 /// </summary>
 /// <param name="bidderRepository">The bidderRepository<see cref="IBidderRepository"/>.</param>
 public BidderService(IBidderRepository bidderRepository)
 {
     this.bidderRepository = bidderRepository;
 }
 public BidderValidationService(IBidderRepository bidderRepo, IEventRepository eventRepo)
 {
     _bidderRepo = bidderRepo;
     _eventRepo = eventRepo;
 }