using FoodShop.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;

namespace FoodShop.Data
{
    public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
            : base(options)
        {
        }

        public DbSet<FoodShop.Models.Country> Countries { get; set; }
        public DbSet<FoodShop.Models.Banner> Banners { get; set; }
        public DbSet<FoodShop.Models.Notizia> Notizias { get; set; }
    }
}