public SharedService( IAgentCommissionRepository agentCommissionRepository, IMembershipRepository membershipRepository, IMapper mapper) { this.agentCommissionRepository = agentCommissionRepository; this.membershipRepository = membershipRepository; this.mapper = mapper; }
public PackingSlipSaveService(IPackingSlipRepository packingSlipRepository, IPackingSlipValidator packingSlipValidator, IFreeItemCheckerService freeItemCheckerService, ICustomerMembershipRepository customerMembershipRepository, IAgentCommissionRepository agentCommissionRepository, IEmailService emailService, IOptions <FileConfig> options) { _packingSlipRepository = packingSlipRepository; _packingSlipValidator = packingSlipValidator; _freeItemCheckerService = freeItemCheckerService; _customerMembershipRepository = customerMembershipRepository; _agentCommissionRepository = agentCommissionRepository; _emailService = emailService; _fileConfig = options.Value; }
public AgentCommissionBusiness() { _repo = new AgentCommissionRepository(); }
public AgentService(IAgentCommissionRepository agentCommissionRepository) { this.agentCommissionRepository = agentCommissionRepository; }