using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using PSTW_CentralSystem.Areas.Inventory.Models; using PSTW_CentralSystem.Models; namespace PSTW_CentralSystem.DBContext { public class InventoryDBContext : DbContext { private readonly IWebHostEnvironment _hostingEnvironment; public InventoryDBContext(DbContextOptions options, IWebHostEnvironment hostingEnvironment) : base(options) { _hostingEnvironment = hostingEnvironment; } protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); } public DbSet Manufacturers { get; set; } public DbSet Items { get; set; } public DbSet Products { get; set; } public DbSet Suppliers { get; set; } } }