public MediaBusiness(IFileProfileRepository fileProfileRepository, IMCreditRepository mCreditRepository, IMCreditService mCreditService, ILogRepository logRepository, IProfileRepository profileRepository, IMapper mapper, CurrentProcess process) : base(mapper, process) { _rpFile = fileProfileRepository; _rpMCredit = mCreditRepository; _rpLog = logRepository; _svMcredit = mCreditService; _rpProfile = profileRepository; }
protected MCreditServiceBase(IMCreditRepository mCreditRepository, ILogRepository logRepository, IOptions <McreditApi> option, CurrentProcess process) { _httpClient = new HttpClient(); _requestMessage = new HttpRequestMessage(); _mcApiconfig = option.Value; _requestMessage.Headers.Add("xdncode", _mcApiconfig.XDNCode); _baseUrl = _mcApiconfig.BaseUrl; _userToken = string.Empty; _rpMcredit = mCreditRepository; _rpLog = logRepository; _process = process; }
public MCreditBusiness(IMCreditRepository mcreditRepository, IMCreditService mCreditService, INoteRepository noteRepository, ILogRepository logRepository, IServiceProvider serviceProvider, IFileProfileRepository fileProfileRepository, IMapper mapper, CurrentProcess process) : base(mapper, process) { _rpMCredit = mcreditRepository; _svMcredit = mCreditService; _rpNote = noteRepository; _rpLog = logRepository; _svProvider = serviceProvider; _rpFile = fileProfileRepository; }
public MCreditLoanService(IMCreditRepository mCreditRepository, ILogRepository logRepository, IOptions <McreditApi> option, CurrentProcess currentProcess) : base(mCreditRepository, logRepository, option, currentProcess) { }