Bearbeitung von Fragen

This commit is contained in:
2020-06-10 13:23:29 +02:00
parent 6d84a4614b
commit a8b04a6443
11 changed files with 205 additions and 34 deletions

View File

@@ -1,4 +1,5 @@
using System;
using MultipleChoiceTrainer.Validation;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
@@ -11,6 +12,7 @@ namespace MultipleChoiceTrainer.Models.DataModels
public int Id { get; set; }
[Display(Name = "Name")]
[NotNullOrEmpty]
public string Name { get; set; }
[Display(Name = "Beschreibung")]
public string Description { get; set; }