Files
Multiplechoicetrainer/MultipleChoiceTrainer/Models/QuestionViewModel.cs

17 lines
422 B
C#

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; }
}
}