public BoardsController(SbsContext context) { _context = context; }
public UnitOfWorkFactory(SbsContext context, IHttpContextAccessor httpContextAccessor) { _context = context; _httpContextAccessor = httpContextAccessor; }
public OwnersController(SbsContext context) { _context = context; }
public UnitOfWork(SbsContext dbContext, IHttpContextAccessor httpContextAccessor) { this.dbContext = dbContext; _session = httpContextAccessor.HttpContext.Session; }