public ActionResult FinalPayment(int?id)
        {
            if (Session["UserId"] != null)
            {
                int userId = Convert.ToInt32(Session["UserId"].ToString());
                var data   = GenericMethods.UserBookedEvents(userId, Convert.ToInt32(id));
                Event_UserPayments payments = new Event_UserPayments()
                {
                    UserId           = userId,
                    UserSelectionId  = id.Value,
                    Status           = true,
                    CreatedOn        = DateTime.Now,
                    PaymentStatus    = "Paid",
                    ConfirmationDate = DateTime.Now,
                };
                UserpaymentsService.Create(payments);

                foreach (var paymentdetails in data.Useselections)
                {
                    GenericMethods.EventUpdateTickets(paymentdetails.EventId, paymentdetails.TicketTypeId, paymentdetails.TotalNoOfTickets.Value);
                }
                TempData["DisplayMessage"] = "Your booking was successfully completed";
                return(RedirectToAction("Events", "AlumniFacultyEvents", new { area = "AlumniFaculty" }));
            }
            return(RedirectToAction(LoginPages.Login, LoginPages.Account, new { area = "" }));
        }