// GET: /Teacher/DeleteConfirm/{id}
        public ActionResult DeleteConfirm(int id)
        {
            TeacherDataController controller = new TeacherDataController();
            Teacher NewTeacher = controller.FindTeacher(id);

            return View(NewTeacher);
        }
        //Get: /Teacher/Update/{id}
        /// <summary>
        /// Receive a POST reqiest containing information about an existing teacher in the system, with new values.
        /// Conveys this information to the API, and redirects to the Teacher's "Show" page
        /// </summary>
        /// <param name="id">Id of the Teacher to update</param>
        /// <param name="TeacherFname">The update first name of the teacher</param>
        /// <param name="TeacherLname">The update last name of the teacher</param>
        /// <param name="EmployeeNumber">The update employee number of the teacher</param>
        /// <param name="HireDate">The update first hire date of the teacher</param>
        /// <param name="Salary">The update salaryof the teacher</param>
        /// <returns></returns>

        public ActionResult Update(int id)
        {

            TeacherDataController controller = new TeacherDataController();
            Teacher SelectTeacher = controller.FindTeacher(id);

            return View(SelectTeacher);
        }