private async Task <ResponseModel> SendRequest(StringContent content, RequestVerbs verb, string endpoint) { var token = _identity.GetTokens().Token; var response = await _userWebApiHelper.SendRequest(endpoint, verb, content, token); var result = await _userWebApiHelper.GetResultFromResponse <string>(response, "message"); if (!result.IsSuccess && result.Message.Equals(UserWebApiHelper.TokenExpiredHeaderKey, StringComparison.OrdinalIgnoreCase)) { await RefreshToken(); await SendRequest(content, verb, endpoint); } return(result); }