public BookingDbContextUnitOfWork(BookingDbContext dbContext) { this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); }
public BookingDbContextInstaller(BookingDbContext dbContext) { this.dbContext = dbContext; }
public BookingRepository(BookingDbContext dbContext) { this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); }
public void Dispose() { dbContext?.Dispose(); dbContext = null; }