public ActionResult DeleteConfirmed(int id)
        {
            CourseManagers coursemanager = db.CourseManagers.Find(id);

            db.CourseManager.Remove(coursemanagers);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult Create(CourseManagers coursemanager)
        {
            if (ModelState.IsValid)
            {
                db.CourseManager.Add(coursemanagers);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(coursemanager));
        }
        //
        // GET: /CourseManager/Delete/5

        public ActionResult Delete(int id)
        {
            CourseManagers coursemanager = db.CourseManager.Find(id);

            return(View(coursemanager));
        }
        //
        // GET: /CourseManager/Details/5

        public ViewResult Details(int id)
        {
            CourseManagers coursemanagers = db.CourseManager.Find(id);

            return(View(coursemanagers));
        }