Bearbeitung von Fragen
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user