using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Marco.Pms.Model.Authentication; using Marco.Pms.Model.Forum; namespace Marco.Pms.DataAccess.Data { public class ForumDbContext : IdentityDbContext { private readonly IHttpContextAccessor _httpContextAccessor; public ForumDbContext(DbContextOptions options, IHttpContextAccessor httpContextAccessor) : base(options) { _httpContextAccessor = httpContextAccessor; } public DbSet Tickets { get; set; } public DbSet TicketAttachments { get; set; } public DbSet TicketComments { get; set; } public DbSet TicketStatusMasters { get; set; } public DbSet TicketTypeMasters { get; set; } } }