Font-Awesome und Startseite;
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user