예제 #1
0
 public static CbrJson Create(CurrencyRatesContext context)
 {
     if (cbrJson == null)
     {
         cbrJson = new CbrJson();
     }
     return(cbrJson);
 }
예제 #2
0
 public CurrencyRateController(CurrencyRatesContext context)
 {
     db      = context;
     cbrJson = CbrJson.Create(db);
 }
 public CurrencyRateController(CurrencyRatesContext context)
 {
     db = context;
 }