// GET: QuestionTypes/Details/5
        public IActionResult Details(int?id)
        {
            if (id == null)
            {
                return(HttpNotFound());
            }

            var questionType = questionTypeService.GetById(id.Value);

            if (questionType == null)
            {
                return(HttpNotFound());
            }

            return(View(questionType));
        }