private async Task ValidateRequestsData() { Cursor.Current = Cursors.WaitCursor; var isInitializeSuccesful = await _currencyConvertService.InitializeServiceAttempt(); if (isInitializeSuccesful) { ValidRequestsActions(); } else { InvalidRequestsActions(); } Cursor.Current = Cursors.Default; }
public static async Task AttemptInitService() { ConvertService = new ConvertService(); IsInitialized = await ConvertService.InitializeServiceAttempt(); }