public PDashServices(IApiTypes apiService) { _apiService = apiService; _util = Util.GetInstance(); _settings = Settings.GetInstance(); //_dbm = DbManager.GetInstance(); }
public PDashServices(IApiTypes apiService) { _apiService = apiService; _util = Util.GetInstance(); Policy.Handle <Exception>() .WaitAndRetryAsync ( 5, retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)) ); //_dbm = DbManager.GetInstance(); }