private static string GetRecords() { var str = ""; var s = client.GetAll().Result; foreach (var item in s) { str += item.FirstName + ' ' + item.LastName + "\r\n"; } logger.Info("Getting list success"); return(str); }