private static string GetUsername(TeamCityUser user) { if (!string.IsNullOrWhiteSpace(user.Name)) return user.Name; return user.Username; }
private static string GetUsername(TeamCityUser user) { if (!string.IsNullOrWhiteSpace(user.Name)) { return(user.Name); } return(user.Username); }