Esempio n. 1
0
 public AddDVDVM()
 {
     Movie = new Movie();
     DVDTypesList = new List<SelectListItem>()
     {
         new SelectListItem()
         {
             Text = "DVD",
             Value = "DVD"
         },
         new SelectListItem()
         {
             Text = "Blu-ray",
             Value = "Blu-ray"
         },
         new SelectListItem()
         {
             Text = "3D Blu-ray",
             Value = "3D Blu-ray"
         },
         new SelectListItem()
         {
             Text = "DVD Special Edition",
             Value = "DVD Special Edition"
         },
         new SelectListItem()
         {
             Text = "Blu-ray Special Edition",
             Value = "Blu-ray Special Edition"
         },
         new SelectListItem()
         {
             Text = "HD-DVD",
             Value = "HD-DVD"
         },
         new SelectListItem()
         {
             Text = "VHS",
             Value = "VHS"
         },
         new SelectListItem()
         {
             Text = "Other",
             Value = "Other"
         }
     };
     RatingsList = new List<SelectListItem>()
     {
         new SelectListItem()
         {
             Text = "G",
             Value = "G"
         },
         new SelectListItem()
         {
             Text = "PG",
             Value = "PG"
         },
         new SelectListItem()
         {
             Text = "PG-13",
             Value = "PG-13"
         },
         new SelectListItem()
         {
             Text = "R",
             Value = "R"
         },
         new SelectListItem()
         {
             Text = "NC-17",
             Value = "NC-17"
         },
         new SelectListItem()
         {
             Text = "NR",
             Value = "NR"
         }
     };
 }
Esempio n. 2
0
 public DVD()
 {
     Statuses = new List<Status>();
     Movie = new Movie();
 }