/// <summary>
        /// Show particluar selected class details connecting to the views folder
        /// </summary>
        /// <param name="id">int as ID</param>
        /// <returns>class detials of that selected class</returns>
        ///  //GET Class/Show/{id}
        public ActionResult Show(int id)
        {
            ClassesDataController controller = new ClassesDataController();
            Class NewClass = controller.FindClass(id);

            return(View(NewClass));
        }
        // POST Class/AddSecondaryKey
        public ActionResult AddSecondaryKey()
        {
            ClassesDataController controller = new ClassesDataController();

            controller.AddForeignKey();

            return(RedirectToAction("List"));
        }
        /// <summary>
        /// Show list of authors connectiing to the views folder
        /// </summary>
        /// <param name="id">int as ID</param>
        /// <returns>List of class rendered to the list page</returns>
        //GET Class/List
        public ActionResult List()
        {
            ClassesDataController controller = new ClassesDataController();
            IEnumerable <Class>   Classes    = controller.ListClasses();


            return(View(Classes));
        }