示例#1
0
 public BoardsController(SbsContext context)
 {
     _context = context;
 }
 public UnitOfWorkFactory(SbsContext context, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
 }
示例#3
0
 public OwnersController(SbsContext context)
 {
     _context = context;
 }
示例#4
0
 public UnitOfWork(SbsContext dbContext, IHttpContextAccessor httpContextAccessor)
 {
     this.dbContext = dbContext;
     _session       = httpContextAccessor.HttpContext.Session;
 }