public ShopperApplicationService(
     IFindShopperRepository findShopperRepository,
     IMapper typeMapper,
     IAdaptEntityToViewModel <Shopper, ShopperViewModel> shopperAdapter
     )
 {
     this.findShopperRepository = findShopperRepository;
     this.typeMapper            = typeMapper;
     this.shopperAdapter        = shopperAdapter;
 }
 public MerchantApplicationService(
     IFindMerchantRepository merchantRepository,
     IMediatorHandler mediatorHandler,
     IMapper typeMapper,
     IAdaptEntityToViewModel <Merchant, MerchantViewModel> merchantAdapter
     )
 {
     this.mediatorHandler    = mediatorHandler;
     this.merchantRepository = merchantRepository;
     this.typeMapper         = typeMapper;
     this.merchantAdapter    = merchantAdapter;
 }
Пример #3
0
 public PaymentApplicationService(
     IFindPaymentRepository paymentRepository,
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediatorHandler,
     IMapper typeMapper,
     IAdaptEntityToViewModel <Payment, PaymentViewModel> paymentAdapter
     )
 {
     this.paymentRepository = paymentRepository;
     this.notifications     = (DomainNotificationHandler)notifications;
     this.mediatorHandler   = mediatorHandler;
     this.typeMapper        = typeMapper;
     this.paymentAdapter    = paymentAdapter;
 }