Bearbeitung von Lektion und Kurs
This commit is contained in:
13
MultipleChoiceTrainer/Models/AbstractEditViewModel.cs
Normal file
13
MultipleChoiceTrainer/Models/AbstractEditViewModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
|
||||
namespace MultipleChoiceTrainer.Models
|
||||
{
|
||||
public class AbstractEditViewModel<T>
|
||||
where T: new()
|
||||
{
|
||||
public T Entity { get; set; }
|
||||
public int? PreviousCategoryId { get; set; }
|
||||
|
||||
public SelectList Assignables { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user