private async Task <User> RequestToken(string username, string password, IDataClient dataClient) { var authPostModel = new User() { Username = username, Password = password }; try { var res = await dataClient.GetAuthentication(authPostModel); return(res); } catch (Exception ex) { throw; } }