Bilder zur Frage können hochgeladen werden;
This commit is contained in:
16
MultipleChoiceTrainer/Models/QuestionViewModel.cs
Normal file
16
MultipleChoiceTrainer/Models/QuestionViewModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using MultipleChoiceTrainer.Models.DataModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MultipleChoiceTrainer.Models
|
||||
{
|
||||
public class QuestionViewModel : Question
|
||||
{
|
||||
[Display(Name ="Bild zur Frage")]
|
||||
public IFormFile QuestionImage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user