Пример #1
0
 public void SetMovieIds()
 {
     if (Covers != null)
     {
         Covers.ForEach(c => c.MovieId = Id);
     }
     if (Backdrops != null)
     {
         Backdrops.ForEach(c => c.MovieId = Id);
     }
     if (Posters != null)
     {
         Posters.ForEach(c => c.MovieId = Id);
     }
 }
 public void SetMovieIds()
 {
     if (Covers != null)
     {
         Covers.ForEach(c => c.Id = Id);
     }
     if (Backdrops != null)
     {
         Backdrops.ForEach(c => c.Id = Id);
     }
     if (Posters != null)
     {
         Posters.ForEach(c => c.Id = Id);
     }
     if (Profiles != null)
     {
         Profiles.ForEach(c => c.Id = Id);
     }
     if (Stills != null)
     {
         Stills.ForEach(c => c.Id = Id);
     }
 }