public UserService(IConfiguration config, IOptions <Dto.AppSettings> appSettings, IMapper mapper, UserDbContext dbContext) { _config = config; _appSettings = appSettings.Value; _mapper = mapper; _userDbContext = dbContext; }
public PaymentService(IConfiguration config, IOptions <Dto.AppSettings> appSettings, IMapper mapper, PaymentDbContext dbContext) { _config = config; _appSettings = appSettings.Value; _mapper = mapper; _paymentDbContext = dbContext; }