public viewModels.addSerie Create()
 {
     viewModels.addSerie addSerie = new viewModels.addSerie();
     addSerie.ratings    = series.getAllRatings();
     addSerie.categories = series.getAllCategories();
     addSerie.statuses   = series.getAllStatuses();
     return(addSerie);
 }
Пример #2
0
 private void populateStatus()
 {
     foreach (var item in series.getAllStatuses())
     {
         cmbStatus.Items.Add(item.serieStatus);
     }
     cmbStatus.SelectedIndex = 0;
 }