using BulkyBookWeb.Models;

using Microsoft.EntityFrameworkCore;

namespace BulkyBookWeb.Data

{

    public class ApplicationDbContext : DbContext

    {

        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)

        {

        }

        public DbSet<Category> Categories { get; set; }

    }

}

 

Post a Comment

If you have any doubt please let me know

Previous Post Next Post