Bearbeitung von Lektion und Kurs

This commit is contained in:
Tokk committed 2020-06-09 16:00:08 +02:00
1 parent 6a49e1b8f7
commit 01585fc9ef
13 files changed
+317 -72

No files matched your search

@@ -15,8 +15,9 @@ namespace MultipleChoiceTrainer.Models.DataModels
[Display(Name = "Beschreibung")]
public string Description { get; set; }
[Display(Name = "Kurs")]
public Category Category { get; set; }
[Display(Name = "Kurs")]
public int CategoryId { get; set; }
public ICollection<Question> Questions { get; set; } = new HashSet<Question>();