public ActionResult EditStudent(StudentModel model)
 {
     if (ModelState.IsValid)
     {
         dalStudent.UpdateStudent(new Student()
         {
             Grad     = model.Grad,
             BrIndexa = model.BrIndexa,
             Ime      = model.Ime,
             Prezime  = model.Prezime,
             ID       = model.ID
         });
         return(RedirectToAction("Index", "Student"));
     }
     return(RedirectToAction("EditStudent", "Student", new { ID = model.ID }));
 }