public UploadCardsModel(ICardStore cardStore, IGameStore gameStore, IImageStore imageStore) { _cardStore = cardStore ?? throw new ArgumentNullException(nameof(cardStore)); _gameStore = gameStore ?? throw new ArgumentNullException(nameof(gameStore)); _imageStore = imageStore ?? throw new ArgumentNullException(nameof(imageStore)); }
public CardsController(IGameStore gameStore, ICardStore cardStore, IImageStore imageStore) { _gameStore = gameStore ?? throw new ArgumentNullException(nameof(gameStore)); _cardStore = cardStore ?? throw new ArgumentNullException(nameof(cardStore)); _imageStore = imageStore ?? throw new ArgumentNullException(nameof(imageStore)); }
public CardRepository(ICardStore store) { _store = store; }
public OperationRepository(ICardStore cardStore) { _cardStore = cardStore; }
public CreditCardService(ICardStore cardStore) { _cardStore = cardStore; }