feat: added DAL
This commit is contained in:
11
JOBot.Backend/DAL/Context/AppDbContext.cs
Normal file
11
JOBot.Backend/DAL/Context/AppDbContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace JOBot.Backend.DAL.Context;
|
||||
|
||||
using JOBot.Backend.DAL.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
class AppDbContext : DbContext
|
||||
{
|
||||
public DbSet<User> Users { get; set; }
|
||||
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
||||
}
|
||||
Reference in New Issue
Block a user