Пример #1
0
 public AddCards(IValidCardsData validataCards, ICardGateway cardGateway, IPackGateway packGateway,
                 IIncrementVersionNumber incrementVersionNumber, IPublishMessageAdaptor publishMessageAdaptor)
 {
     _validataCards          = validataCards;
     _cardGateway            = cardGateway;
     _packGateway            = packGateway;
     _incrementVersionNumber = incrementVersionNumber;
     _publishMessageAdaptor  = publishMessageAdaptor;
 }
Пример #2
0
 public AddCard(
     IValidCardData validCardData,
     ICardGateway cardGateway,
     IPackGateway packGateway,
     IIncrementVersionNumber incrementVersionNumber)
 {
     _validCardData          = validCardData;
     _cardGateway            = cardGateway;
     _packGateway            = packGateway;
     _incrementVersionNumber = incrementVersionNumber;
 }