public static CbrJson Create(CurrencyRatesContext context) { if (cbrJson == null) { cbrJson = new CbrJson(); } return(cbrJson); }
public CurrencyRateController(CurrencyRatesContext context) { db = context; cbrJson = CbrJson.Create(db); }
public CurrencyRateController(CurrencyRatesContext context) { db = context; }