public async Task <IActionResult> UserTraveling(int busId, [FromQuery] DateTime dateTime, CancellationToken ct) { User currentUser = await userService.GetUserAsync(User); Ride ride = new Ride() { BusId = busId, DateTime = dateTime, User = currentUser }; await ridesService.AddRide(ride, ct); return(Ok()); }