Пример #1
0
 public ICollection <DictionaryDC> GetDictionariesBaseInfo(int userId)
 {
     try
     {
         List <DictionaryDC> listDictionariesDC = new List <DictionaryDC>();
         var listDictionariesDTO = _bll.GetDictionariesBaseInfo(userId);
         listDictionariesDTO.ForEach(x => listDictionariesDC.Add(MappingDictionary.MappingDTOtoDC(x)));
         return(listDictionariesDC);
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.ToString());
     }
 }