public void BookTicket(Flight flight, Customer customer) { flight.AddCustomersId(customer); logger.Info("Data saved"); context.SaveChanges(); }