Beispiel #1
0
 public IActionResult Get(int filmId)
 {
     return(Ok(_repository.GetByFilm(filmId)));
 }
 public IEnumerable <Actor> GetByFilm(int filmId)
 {
     return(_repository.GetByFilm(filmId).Select(c => c.ToClient()));
 }