public PaymentAuthorizeNetController(ISettingService settingService, ILocalizationService localizationService, AuthorizeNetPaymentSettings authorizeNetPaymentSettings) { this._settingService = settingService; this._localizationService = localizationService; this._authorizeNetPaymentSettings = authorizeNetPaymentSettings; }
public TransactionController(ApplicationContext context, IMapper mapper, ILogger <TransactionVM> logger, IOptions <AuthorizeNetPaymentSettings> settings, IUrlHelper urlHelper) { _context = context; _mapper = mapper; _logger = logger; _urlHelper = urlHelper; _settings = settings.Value; }