public static async Task AddTripAsync(Trip trip) { await using var tripContext = new TravelContext(); tripContext.Add(trip); await tripContext.SaveChangesAsync(); }