private List <string> GetAllWords() { var allTheWords = _wordsRepository.GetWordsList(); if (allTheWords == null) { throw new ApplicationException("Unable to retrive a valid Words List from the Repository."); } if (allTheWords.Count() < 1) { throw new ApplicationException("Unable to retrive a valid Words List from the Repository."); } return(allTheWords.ToList()); }