Exemplo n.º 1
0
        public IEnumerable <TypePaiementDetailPivot> GetTypePaiementDetailsByName(string identifged)
        {
            IEnumerable <GEN_TypePaiementDetail>  typePaiementDetail       = typePaiementDetailRepository.GetItemsByModelLibelle(identifged).ToList();
            IEnumerable <TypePaiementDetailPivot> typePaiementDetailPivots = Mapper.Map <IEnumerable <GEN_TypePaiementDetail>, IEnumerable <TypePaiementDetailPivot> >(typePaiementDetail);

            return(typePaiementDetailPivots);
        }
Exemplo n.º 2
0
        public IEnumerable <TypePaiementDetailPivot> TypePaiementDetails(string identifged)
        {
            IEnumerable <GEN_TypePaiementDetail>  motif        = tiersContactsRepository.GetItemsByModelLibelle(identifged).ToList();
            IEnumerable <TypePaiementDetailPivot> motifsPivots = Mapper.Map <IEnumerable <GEN_TypePaiementDetail>, IEnumerable <TypePaiementDetailPivot> >(motif);

            return(motifsPivots);
        }