public OrderDetailsController(XSpyContext context, IConfiguration configuration) { _context = context; //2019-09-18 JPC Version 13.1 store Bank Of Fiction URL and credentials (oversimplification!) in appsettings.json _bankOfFictionURL = configuration.GetSection("AppSettings")["BankOfFictionURL"]; _merchantId = configuration.GetSection("AppSettings")["MerchantId"]; _merchantPassword = configuration.GetSection("AppSettings")["MerchantPassword"]; }
public SubscribeController(XSpyContext context) { _context = context; }
public MembershipsController(XSpyContext context) { _context = context; }
public ProductsController(XSpyContext context) { _context = context; }
public StoreController(XSpyContext context) { _context = context; }
public ReportsController(XSpyContext context) { _context = context; }