public async Task <IActionResult> GetBookedEvents() { Booking[] events = await BookingServices.GetBookedEventForUserAsync(CurrentUser.Id); Booking[] result = events.Where((arg) => arg.Event.Forward()).ToArray(); return(Ok(result)); }