16 lines
No EOL
457 B
C#
16 lines
No EOL
457 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using SurveyBackend.Core.Models;
|
|
|
|
namespace SurveyBackend.Infrastructure.Data;
|
|
|
|
public class ApplicationDbContext : DbContext
|
|
{
|
|
public DbSet<User> Users { get; set; }
|
|
public DbSet<Group> Groups { get; set; }
|
|
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
|
|
{
|
|
}
|
|
} |