/// <summary> /// Check black /// </summary> /// <param name="account">Sms acount</param> /// <param name="checkBlackOptions">Check black options</param> /// <returns>Return check black result</returns> public static async Task <CheckBlackResult> CheckBlackAsync(SmsAccount account, CheckBlackOptions checkBlackOptions) { var smsProvider = GetSmsProvider(); return(await ExecuteAsync(account, checkBlackOptions, smsProvider.CheckBlackAsync).ConfigureAwait(false)); }
/// <summary> /// Check black /// </summary> /// <param name="account">Sms acount</param> /// <param name="checkBlackOptions">Check black options</param> /// <returns>Return check black result</returns> public static CheckBlackResult CheckBlack(SmsAccount account, CheckBlackOptions checkBlackOptions) { return(CheckBlackAsync(account, checkBlackOptions).Result); }
/// <summary> /// Check black /// </summary> /// <param name="checkBlackOptions">Check black options</param> /// <returns>Return check black result</returns> public static CheckBlackResult CheckBlack(CheckBlackOptions checkBlackOptions) { return(CheckBlackAsync(checkBlackOptions).Result); }