public InvoicesCommandService(IInvoiceRepository invoiceRepository,
                                      ICustomerMembershipRepository customerMembershipRepository,
                                      IDeliveryMembershipRepository deliveryMembershipRepository,
                                      ICollectorMembershipRepository collectorMembershipRepository,
                                      IQuickAccessListRepository quickAccessListRepository,
                                      IQNameRepository qnameRepository,
                                      ISecretaryMembershipRepository secretaryMembershipRepository,
                                      IUnitOfWork unitOfWork,
                                      IMapper mapper)
        {
            _invoiceRepository             = invoiceRepository;
            _customerMembershipRepository  = customerMembershipRepository;
            _deliveryMembershipRepository  = deliveryMembershipRepository;
            _collectorMembershipRepository = collectorMembershipRepository;
            _quickAccessListRepository     = quickAccessListRepository;
            _secretaryMembershipRepository = secretaryMembershipRepository;

            _unitOfWork = unitOfWork;
            _mapper     = mapper;
        }
Example #2
0
 public QuickAccessListsQuery(IQuickAccessListRepository quickAccessListRepository,
                              IMapper mapper)
 {
     _quickAccessListRepository = quickAccessListRepository;
     _mapper = mapper;
 }