public FilmQuery(dvdrentalContext dvdContext)
 {
     Field <FilmType>(
         "film",
         resolve: context => dvdContext.Film.Select(f => new Film {
         FilmId = f.FilmId, Title = f.Title, Actors = f.FilmActor.Select(fa => new Actor {
             ActorId = fa.ActorId, Name = fa.Actor.FirstName + " " + fa.Actor.LastName
         }).ToList()
     }).FirstOrDefault()
         );
 }
 public ValuesController(dvdrentalContext context)
 {
     _context = context;
 }