public IActionResult DeleteUsersGoingToWeddings(int weddingId)
        {
            UserGoingtoWedding thisuser = db.UserGoingtoWedding.FirstOrDefault(u => u.WeddingId == weddingId && u.UserId == uid);

            db.UserGoingtoWedding.Remove(thisuser);
            db.SaveChanges();


            return(RedirectToAction("WeddingPlanner"));
        }
        public IActionResult CreateUsersGoingToWeddings(UserGoingtoWedding userGoingtoWedding)
        {
            if (ModelState.IsValid)
            {
                db.Add(userGoingtoWedding);
                db.SaveChanges();
            }

            return(RedirectToAction("WeddingPlanner"));
        }