Ejemplo n.º 1
0
 public MovieData()
 {
     person1 = _db.GetById(1);
     person2 = _db.GetById(2);
     movies  = new List <Movie>()
     {
         new Movie()
         {
             Id          = 1,
             Name        = "Bad Boys for Life",
             Description = "It is the sequel to Bad Boys II (2003) and the third installment in the Bad Boys trilogy.",
             Distributor = "Sony Pictures",
             Percentage  = 78,
             Genres      = { Genre.Comedy, Genre.Action },
             Starring    = new List <Person>()
             {
                 person1, person2
             }
         },
         new Movie()
         {
             Id          = 2,
             Name        = "Sonic the Hedgehog",
             Description = "Sonic the Hedgehog is a 2020 action-adventure comedy film based on" +
                           " the video game franchise published by Sega. ",
             Distributor = "Paramount Pictures",
             Percentage  = 76,
             Genres      = { Genre.Adventure },
         },
         new Movie()
         {
             Id          = 3,
             Name        = "Black Widow",
             Description = "A film about Natasha Romanoff in her quests between the films Civil War and Infinity War. ",
             Distributor = "Marvel Studios",
             Percentage  = 82,
             Genres      = { Genre.Comedy, Genre.Action },
         },
         new Movie()
         {
             Id          = 4,
             Name        = "The King's of Man",
             Description = "As a collection of history's worst tyrants and criminal masterminds gather " +
                           "to plot a war to wipe out millions, one man must race against time to stop them. ",
             Distributor = "20th Centuary Fox",
             Percentage  = 85,
             Genres      = { Genre.Action, Genre.Adventure },
         }
     };
 }