示例#1
0
 public OTPService(IOTPRepository oTPRepository,
                   IMapper mapper,
                   IUnitOfWork unitOfWork,
                   ISmsService smsService)
 {
     _oTPRepository = oTPRepository;
     _mapper        = mapper;
     _unitOfWork    = unitOfWork;
     _smsService    = smsService;
 }
示例#2
0
 public CustomerService(ICustomerRepository customerRepository,
                        IOTPRepository oTPRepository,
                        IPaymentRepository paymentRepository,
                        IPayoutRepository payoutRepository,
                        IRefundRepository refundRepository,
                        ICreditCardRepository creditCardRepository,
                        IMapper mapper,
                        IUnitOfWork unitOfWork,
                        IOTPService oTPService,
                        IOptions <CrediCardSetting> options,
                        ICustomerDeviceRepository customerDeviceRepository)
 {
     _customerRepository   = customerRepository;
     _paymentRepository    = paymentRepository;
     _payoutRepository     = payoutRepository;
     _refundRepository     = refundRepository;
     _creditCardRepository = creditCardRepository;
     _oTPRepository        = oTPRepository;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
     _oTPService = oTPService;
     SETTING     = options;
     _customerDeviceRepository = customerDeviceRepository;
 }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="otpRepository"></param>
 public OTPService(IOTPRepository otpRepository)
 {
     _otpRepository = otpRepository;
 }