//protected override async Task OnInitializedAsync()
        //{
        //    await loadData();
        //}

        public async Task Edit(TimeBooking bTime)
        {
            var param = new ModalParameters();

            param.Add(nameof(BookTime.Booking2Change), bTime);
            var ret    = Modal.Show <BookTime>("Zeit ändern", param);
            var result = await ret.Result;

            if (!result.Cancelled)
            {
                var changed = (TimeBooking)result.Data;
                //Context.Update(changed);
                //await Context.SaveChangesAsync();
                await BookingsService.UpdateBookingAsync(changed);

                await AppState.RegisteredAsync(changed);
            }
        }