// GET: Talk/Details/5
        public ActionResult Details(int id)
        {
            var getTalkById        = talk.GetById(id);
            SpeakerViewModel model = new SpeakerViewModel();

            model.InjectFrom(getTalkById);
            return(View(model));
        }
        // GET: Speakers/Edit/5
        public ActionResult Edit(int id)
        {
            var edit = speaker.GetById(id);
            SpeakerViewModel model = new SpeakerViewModel();

            model.InjectFrom(edit);

            return(View(model));
        }
        public ActionResult Delete(int id, SpeakerViewModel model)
        {
            Speakers deleteSpeaker = new Speakers();

            deleteSpeaker = speaker.GetById(id);
            model.InjectFrom(deleteSpeaker);
            speaker.DeleteSpeakers(deleteSpeaker);
            return(RedirectToAction(nameof(Index)));
        }
        // GET: Speakers/Delete/5
        public ActionResult Delete(int id)
        {
            var delete = speaker.GetById(id);

            SpeakerViewModel model = new SpeakerViewModel();

            model.InjectFrom(delete);

            return(View(model));
        }