public BidOnAuction(IAuctionRepository auctionRepository, IBidHistoryRepository bidHistoryRepository, IUnitOfWork unitOfWork, IClock clock) { _auctionRepository = auctionRepository; _bidHistoryRepository = bidHistoryRepository; _unitOfWork = unitOfWork; _clock = clock; }
public AuctionFacade(IAuctionRepository auctionRepository, IOfferRepository offerRepository, AuctionBusiness auctionBusiness, OfferBusiness offerBusiness) { _auctionRepository = auctionRepository; _offerRepository = offerRepository; _auctionBusiness = auctionBusiness; _offerBusiness = offerBusiness; }
public AuctionController() { AuctionRepository = dataProvider.AuctionRepository; BidRepository = dataProvider.BidRepository; EventRepository = dataProvider.EventRepository; GeneralRepository = dataProvider.GeneralRepository; }
public BidOnAuction(IAuctionRepository auctions, IBidHistoryRepository bidHistory, AuctionDatabaseContext unitOfWork, IClock clock) { _auctions = auctions; _bidHistory = bidHistory; _unitOfWork = unitOfWork; _clock = clock; }
public OfferService(IOfferRepository offerRepository, IAuctionRepository auctionRepository, IUserRepository userRepository, Authorization authorization) { this.offerRepository = offerRepository; this.auctionRepository = auctionRepository; this.userRepository = userRepository; this.authorization = authorization; }
public HomeController(ILogger <HomeController> logger, IProductRepository productRepository, IUserRepository userRepository, IAuctionRepository auctionRepository) { this.productRepository = productRepository; this.userRepository = userRepository; this.auctionRepository = auctionRepository; _logger = logger; }
public HomeController() { UserRepository = dataProvider.UserRepository; EventRepository = dataProvider.EventRepository; AuctionRepository = dataProvider.AuctionRepository; CategoryRepository = dataProvider.CategoryRepository; }
public BuyNowCommandHandler(IUserRepository userRepository, IAuctionRepository auctionRepository, EventBusService eventBusService, ILogger <BuyNowCommandHandler> logger) : base(logger) { _userRepository = userRepository; _auctionRepository = auctionRepository; _eventBusService = eventBusService; _logger = logger; }
// private IDocumentSession _unitOfWork; public CreateAuctionService(IAuctionRepository auctions, IListingRepository listing, ISellerService sellerService) { _auctions = auctions; _sellerService = sellerService; _listings = listing; // _unitOfWork = unitOfWork; }
public Auction ToAuction(IAuctionRepository auctionRepository, bool offersFromDb = true, bool productsFromDb = true) { List <Offer> offerList; if (!offersFromDb) { offerList = Offers.Select(offerJson => offerJson.ToOffer(auctionRepository)).ToList(); } else { offerList = auctionRepository.Find(Id).Offers.ToList(); } List <Product> productList; if (!productsFromDb) { productList = Products.Select(productJson => productJson.ToProduct()).ToList(); } else { productList = auctionRepository.Find(Id).Products.ToList(); } return(new Auction { Id = Id, Products = productList, Description = Description, Owner = Owner.ToUser(), Offers = offerList, CreationDate = CreationDate }); }
public BusinessService(IUserService userService, IAuctionRepository auctionRepository) { _userService = userService; _auctionRepository = auctionRepository; _apiKey = "1080"; }
public PreviewController() { AuctionRepository = dataProvider.AuctionRepository; ImageRepository = dataProvider.ImageRepository; CategoryRepository = dataProvider.CategoryRepository; EventRepository = dataProvider.EventRepository; }
public EndAuctionCommandHandler(IAuctionRepository auctionRepository, EventBusService eventBusService, ILogger <EndAuctionCommandHandler> logger) : base(logger) { _auctionRepository = auctionRepository; _eventBusService = eventBusService; _logger = logger; }
public AuctionService(IAuctionRepository auctionRepository, IUserRepository userRepository, IProductRepository productRepository, Authorization authorization) { this.auctionRepository = auctionRepository; this.userRepository = userRepository; this.productRepository = productRepository; this.authorization = authorization; }
public GetByIdAuctionUseCase(IAuctionRepository auctionRepository, IHttpContextAccessor httpContextAccessor, IUnitOfWork unitOfWork) { _httpContextAccessor = httpContextAccessor; _auctionRepository = auctionRepository; _unitOfWork = unitOfWork; }
public UserRemoveAuctionImageCommandHandler(IAuctionRepository auctionRepository, EventBusService eventBusService, ILogger <UserRemoveAuctionImageCommandHandler> logger) : base(logger) { _auctionRepository = auctionRepository; _eventBusService = eventBusService; _logger = logger; }
public AuctionController(UserManager <AppUser> userManager, IUrlHelperFactory urlHelperFactory, IAuctionRepository auctionRepository, IAdRepository adRepository, INotificationRepository notificationRepository) { this.notificationRepository = notificationRepository; this.adRepository = adRepository; this.auctionRepository = auctionRepository; this.userManager = userManager; this.urlHelperFactory = urlHelperFactory; }
public AuctionService(IAuctionRepository auctionRepository, IUserRepository userRepository, IListingRepository listingRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.auctionRepository = auctionRepository; this.userRepository = userRepository; this.listingRepository = listingRepository; this.unitOfWork = unitOfWork; userName = ""; }
public AccountController() { AuctionRepository = dataProvider.AuctionRepository; UserRepository = dataProvider.UserRepository; EventRepository = dataProvider.EventRepository; InvoiceRepository = dataProvider.InvoiceRepository; BidRepository = dataProvider.BidRepository; }
public AuctionService() { var unitOfWork = new UnitOfWork(); _auctionRepository = unitOfWork.AuctionRepository; _userRepository = unitOfWork.UserRepository; _auditRepository = unitOfWork.AuditRepository; }
public AuctionStatusQuery(IAuctionRepository auctions, IBidHistoryRepository bidHistory, IClock clock) { _auctions = auctions; _bidHistory = bidHistory; _clock = clock; }
public AdminController(IPackageRepository packageRepository, IProductBrandRepository _productBrandRepository, IProductCategoryRepository _productCategoryRepository, IProductRepository _productRepository, IAuctionRepository _auctionRepository) { _packageRepository = packageRepository; productBrandRepository = _productBrandRepository; productCategoryRepository = _productCategoryRepository; productRepository = _productRepository; auctionRepository = _auctionRepository; }
public AuctionController(IAuctionRepository auctionRepository, IBidRepository bidRepository, EventBusRabbitMQProducer eventBus, IMapper mapper, ILogger <AuctionController> logger) { _auctionRepository = auctionRepository; _bidRepository = bidRepository; _eventBus = eventBus; _mapper = mapper; _logger = logger; }
public AuctionCommandHandlers(IAuctionRepository repository, IAuctionService service , IEventPublisher publisher, IParticipantService participantService) { _repository = repository; this._service = service; _publisher = publisher; _participantService = participantService; }
public ConsignorController() { AuctionRepository = dataProvider.AuctionRepository; CategoryRepository = dataProvider.CategoryRepository; ImageRepository = dataProvider.ImageRepository; EventRepository = dataProvider.EventRepository; UserRepository = dataProvider.UserRepository; }
public Offer ToOffer(IAuctionRepository auctionRepository) => new Offer { Id = Id, Owner = Owner.ToUser(), Price = Price, Accepted = Accepted, Auction = auctionRepository.Find(AuctionId) };
public AuctionService(PermissionCategoryService pcService, PaskolEmailService emailService, IAuctionRepository rep, IUsersRepository userRep, IUnitOfWork uow) : base(rep, uow) { this._pcService = pcService; this._userRep = userRep; this._auctionRep = rep; _emailService = emailService; }
public AuctionController() { AuctionRepository = dataProvider.AuctionRepository; BidRepository = dataProvider.BidRepository; CategoryRepository = dataProvider.CategoryRepository; EventRepository = dataProvider.EventRepository; DifferentRepository = dataProvider.DifferentRepository; InvoiceRepository = dataProvider.InvoiceRepository; }
public AuctionService( IAuctionRepository auctionRepository, IUserService userService, IAuctionBetRepository auctionBetRepository) { _auctionRepository = auctionRepository; _userService = userService; _auctionBetRepository = auctionBetRepository; }
public ApiService(IAuctionRepository auctionRepository, IUserRepository userRepository, IListingRepository listingRepository, IObjectiveRepository objectiveRepository, ISiteRepository siteRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.auctionRepository = auctionRepository; this.userRepository = userRepository; this.listingRepository = listingRepository; this.objectiveRepository = objectiveRepository; this.siteRepository = siteRepository; this.unitOfWork = unitOfWork; }
public BidOnAuction(IAuctionRepository auctions, IBidHistoryRepository bidHistory, IDocumentSession unitOfWork, IClock clock) { _auctions = auctions; _bidHistory = bidHistory; _unitOfWork = unitOfWork; _clock = clock; }
public BidOnAuctionService(IAuctionRepository auctions, IBidHistoryRepository bidHistory, IMemberService memberService, IClock clock) { _auctions = auctions; _bidHistory = bidHistory; _clock = clock; _memberService = memberService; }
public UserService(IListingRepository listingRepository, IUserRepository userRepository, IPrizeRepository prizeRepository, IGiveawayRepository giveawayRepository, IAuctionRepository auctionRepository, IObjectiveRepository objectiveRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore<AppUser>(unitOfWork.DbContext))) { this.listingRepository = listingRepository; this.userRepository = userRepository; this.prizeRepository = prizeRepository; this.giveawayRepository = giveawayRepository; this.auctionRepository = auctionRepository; this.objectiveRepository = objectiveRepository; this.unitOfWork = unitOfWork; userName = ""; }
public AuctionsController(IAuctionRepository repository) { _repository = repository; }
public FeaturedAuctionsController(IAuctionRepository repository) { _repository = repository; }
public ImageController() { AuctionRepository = dataProvider.AuctionRepository; GeneralRepository = dataProvider.GeneralRepository; }
public AuctionController(IAuctionRepository repo) { this.repo = repo; AuctionViewModel.CreateDestinationMap(); AuctionViewModel.CreateSourceMap(); }
public CreateAuction(IAuctionRepository auctions, AuctionDatabaseContext unitOfWork) { _auctions = auctions; _unitOfWork = unitOfWork; }
public AuctionFacade(IAuctionRepository auctionRespository, IProductRepository productRepository) { _auctionRespository = auctionRespository; _productRepository = productRepository; }
public CreateAuction(IAuctionRepository auctionRepository, IUnitOfWork unitOfWork) { _auctionRepository = auctionRepository; _unitOfWork = unitOfWork; }
public SalesController() { _auctionRepository = dataProvider.AuctionRepository; _eventRepository = dataProvider.EventRepository; }
IAuctionRepository _repository; // USE Constructor(15) so the service does not depends of any DB. #endregion Fields #region Constructors public AuctionService(IAuctionRepository repository) { _repository = repository; }
public AuctionService() { _auctionRepository = new AuctionRepository(); }
public AuctionController(IAuctionRepository repo) { _repo = repo; }
public CreateAuction(IAuctionRepository auctions, IDocumentSession unitOfWork) { _auctions = auctions; _unitOfWork = unitOfWork; }
public BidOnAuctionService(IAuctionRepository auctions) { _auctions = auctions; }
public SellAnItemController(IAuctionRepository repository) { _repository = repository; }
public EventController() { AuctionRepository = dataProvider.AuctionRepository; EventRepository = dataProvider.EventRepository; }