// GET: Questions/Edit/5
        public async Task <IActionResult> Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var question = await _questionData.FindAsync(id);

            if (question == null)
            {
                return(NotFound());
            }
            ViewData["TopicID"] = new SelectList(Topics, "TopicID", "Description", question.TopicID);
            return(View(question));
        }