HOME-programming-pub_ObST/TodoApi/Models/TodoContext.cs
using Microsoft.EntityFrameworkCore;

namespace TodoApi.Models
{
    public class TodoContext : DbContext
    {
        public TodoContext(DbContextOptions<TodoContext> options)
            : base(options)
        {
        }

        public DbSet<TodoItemDBModel> TodoItems { get; set; }
        public DbSet<Author> Authors { get; set; }

    }
}
