survey-webapp/SurveyBackend/SurveyBackend.Infrastructure/Data/ApplicationDbContext.cs
2025-04-08 19:08:17 +05:00

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)
{
}
}