Esempio n. 1
0
        public ActionResult Index()
        {
            var comptes = dossiersSiteServise.GetAllDossierSite();

            IEnumerable <DossiersSitesViewModel> comptes_Views = Mapper.Map <IEnumerable <DossiersSitesPivot>, IEnumerable <DossiersSitesViewModel> >(comptes);

            return(View(comptes_Views.AsQueryable()));
        }