public string SetPrice(string currencyName, int value) { if (forexProvider == null) { forexProvider = new ForexProvider(); } return(forexProvider.SetPrice(currencyName, value)); }
public string GetPrice(string currencyName) { if (forexProvider == null) { forexProvider = new ForexProvider(); } return(forexProvider.GetPrice(currencyName)); }
public string Request() { if (forexProvider == null) { forexProvider = new ForexProvider(); } return(forexProvider.Request()); }
public bool Authenticate(string pwd) { if (forexProvider == null) { forexProvider = new ForexProvider(); } return(forexProvider.Authenticate(pwd)); }