Template
mirror of
https://github.com/egmont11/ASP.Net-Core-MVC-Template.git
synced 2026-11-20 20:21:00 +01:00
Base template solution with tests, authentication, support for admin accounts, prepared tests for auth, basic error handling system used in auth.
This commit is contained in:
1 parent
5a2e76fefd
commit
f50bec167f
101 files changed
+83814
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using TemplateWeb.Models.DbModels;
|
||||
|
||||
namespace TemplateWeb.Data;
|
||||
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<UserModel> Users { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user