Cannot access a disposed object

I called the BookingCalendarDbContext inside a constructor with .Dispose() like this.
public CalendarEventRepository(BookingCalendarDbContext db) { _db = db; _db.Dispose(); }

StackTrace