Пример #1
0
 public ICollection <WordDC> GetNotLearnedWords(int quantityWords, int dictionaryId)
 {
     try
     {
         List <WordDC> listWordsDC  = new List <WordDC>();
         var           listWordsDTO = _bll.GetNotLearnedWords(quantityWords, dictionaryId);
         listWordsDTO.ForEach(x => listWordsDC.Add(MappingWord.MappingDTOtoDC(x)));
         return(listWordsDC);
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.ToString());
     }
 }