private string DetermineRandomName() { string randomName = nameRepository.GetRandomName(); if (IsNonNull(randomName)) { userInteractions.DisplayRandomName(randomName); } else { userInteractions.DisplayRandomNameError(); } return(randomName); }
private string DetermineRandomName() { string randomName = nameRepository.GetRandomName(); if (IsNonNull(randomName)) { userInteractions.DisplayRandomName(randomName); } else { userInteractions.DisplayRandomNameError(); } return(randomName); }