Exemplo n.º 1
0
 public string SetPrice(string currencyName, int value)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.SetPrice(currencyName, value));
 }
Exemplo n.º 2
0
 public string GetPrice(string currencyName)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.GetPrice(currencyName));
 }
Exemplo n.º 3
0
 public string Request()
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.Request());
 }
Exemplo n.º 4
0
 public bool Authenticate(string pwd)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.Authenticate(pwd));
 }