Font-Awesome und Startseite;

This commit is contained in:
2020-06-04 22:45:42 +02:00
parent 30d2822891
commit cb5acd12eb
7925 changed files with 111573 additions and 37 deletions

View File

@@ -3,14 +3,22 @@ using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using MultipleChoiceTrainer.Models.DataModels;
namespace MultipleChoiceTrainer.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
}
public DbSet<Category> Categories { get; set; }
public DbSet<Section> Sections { get; set; }
public DbSet<Question>Questions { get; set; }
public DbSet<Choice> Choices { get; set; }
public DbSet<Answer> Answers { get; set; }
}
}