public OTPService(IOTPRepository oTPRepository, IMapper mapper, IUnitOfWork unitOfWork, ISmsService smsService) { _oTPRepository = oTPRepository; _mapper = mapper; _unitOfWork = unitOfWork; _smsService = smsService; }
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; }
/// <summary> /// Constructor /// </summary> /// <param name="otpRepository"></param> public OTPService(IOTPRepository otpRepository) { _otpRepository = otpRepository; }