public ActionResult StudentRegitration(Student student)
 {
     ViewBag.departments = departmentManager.GetAllDepartment();
     if (ModelState.IsValid)
     {
         int        id         = student.DepartmentId;
         Department department = departmentManager.DepartmenentNameById(id);
         student.DepartmentName = department.Name;
         string message = studentManager.Save(student);
         ViewBag.Message = message;
     }
     return(View());
 }