using AspNetCoreMVC.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace AspNetCoreMVC.DataContext { public class ModelDbContext : DbContext { public DbSet Persons { get; set; } public DbSet Users { get; set; } public ModelDbContext(DbContextOptions option) : base(option) { } } }