public async Task <IActionResult> Edit(int id, [Bind("Id,MeetingId,NameSpeaker,Topic")] Talks talks)
        {
            if (id != talks.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(talks);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!TalksExists(talks.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                //return RedirectToAction(nameof(Index));
                return(RedirectToAction("EditSpeakers", "Meetings", new { id = talks.MeetingId }));
            }
            return(View(talks));
        }
        public async Task <IActionResult> Edit(int id, [Bind("Id,Date,ConductingLeader,OpeningHymn,Invocation,SacramentHymn,IntermediateHymn,ClosingHymn,Benediction")] Meeting meeting)
        {
            if (id != meeting.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(meeting);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!MeetingExists(meeting.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(meeting));
        }