示例#1
0
 public OrganizationMembershipManagementQuery(IAuthenticationInformation authenticationInformation,
                                              ISuperAdminMembershipRepository superAdminMembershipRepository,
                                              IAdminMembershipRepository adminMembershipRepository,
                                              ICustomerMembershipRepository customerMembershipRepository,
                                              ICollectorMembershipRepository collectorMembershipRepository,
                                              ISecretaryMembershipRepository secretaryMembershipRepository,
                                              IDeliveryMembershipRepository deliveryMembershipRepository,
                                              IUserRepository userRepository,
                                              IMapper mapper) : base(authenticationInformation)
 {
     _superAdminMembershipRepository = superAdminMembershipRepository;
     _adminMembershipRepository      = adminMembershipRepository;
     _customerMembershipRepository   = customerMembershipRepository;
     _collectorMembershipRepository  = collectorMembershipRepository;
     _secretaryMembershipRepository  = secretaryMembershipRepository;
     _deliveryMembershipRepository   = deliveryMembershipRepository;
     _userRepository = userRepository;
     _mapper         = mapper;
 }
        public AuthenticationCommand(IAuthenticationInformation authenticationInformation,
                                     IJsonWebTokenEngine jsonWebTokenEngine,
                                     ISuperAdminMembershipRepository superAdminMembershipRepository,
                                     IAdminMembershipRepository adminMembershipRepository,
                                     ICustomerMembershipRepository customerMembershipRepository,
                                     ICollectorMembershipRepository collectorMembershipRepository,
                                     ISecretaryMembershipRepository secretaryMembershipRepository,
                                     IDeliveryMembershipRepository deliveryMembershipRepository,
                                     IUserRepository userRepository) : base(authenticationInformation)
        {
            _superAdminMembershipRepository = superAdminMembershipRepository;
            _adminMembershipRepository      = adminMembershipRepository;
            _customerMembershipRepository   = customerMembershipRepository;
            _collectorMembershipRepository  = collectorMembershipRepository;
            _secretaryMembershipRepository  = secretaryMembershipRepository;
            _secretaryMembershipRepository  = secretaryMembershipRepository;
            _deliveryMembershipRepository   = deliveryMembershipRepository;

            _jsonWebTokenEngine = jsonWebTokenEngine;
            _userRepository     = userRepository;
        }