예제 #1
0
 // GET: Ator/Details/5
 public ActionResult DetailsFilmes(int id)
 {
     ViewBag.Ator = Mapper.Map <Ator, AtorModelView>(_atorService.GetById(id)).Nome;
     return(View(Mapper.Map <IEnumerable <Filme>, ICollection <FilmeModelView> >(_filmeService.BuscaFilmesPorAtor(id))));
 }