public AdminRaffleItemsController( IRaffleItemRepository raffleItemRepository, IMediator mediator) { this.mediator = mediator; this.raffleItemRepository = raffleItemRepository; }
public AdminRaffleOrdersController( IMediator mediator, IRaffleItemRepository raffleItemRepository ) { this.mediator = mediator; this.raffleItemRepository = raffleItemRepository; }
public UpdateRaffleItemCommandHandler( RaffleDbConfiguration config, IRaffleItemRepository repository, IMediator mediator) { this.repository = repository; this.mediator = mediator; connectionString = config.ConnectionString; }
public HomeController( ILogger <HomeController> logger, IRaffleEmailSender emailSender, IRaffleItemRepository raffleItemRepository, IRaffleEventRepository raffleEventRepository, IMediator mediator) { this.mediator = mediator; this.raffleEventRepository = raffleEventRepository; this.raffleItemRepository = raffleItemRepository; this.emailSender = emailSender; this.logger = logger; }
public CacheRaffleItemRepository(IRaffleItemRepository repository, IMemoryCache cache) { this.cache = cache; this.repository = repository; }
public RaffleItemsController(IMediator mediator, IRaffleItemRepository repository) { this.mediator = mediator; this.repository = repository; }