//
 // GET: /Student/Details/5
 public ActionResult Details(int id = 0)
 {
     StudentDTO studentDto = _studentBus.GetById(id);
     var s = new Student(studentDto);
     if (studentDto == null)
     {
         return HttpNotFound();
     }
     return View(s);
 }
        public ActionResult Create(Student student)
        {
            if (ModelState.IsValid)
            {
                var studentDto = new StudentDTO
                                     {
                                         Name = student.Name,
                                         ClassId = student.ClassId,
                                         Mark1 = student.Mark1,
                                         Mark2 = student.Mark2,
                                         Mark3 = student.Mark3
                                     };
                _studentBus.Save(studentDto);
                return RedirectToAction("Index");
            }

            return View(student);
        }
 //
 // GET: /Student/Edit/5
 public ActionResult Edit(int id = 0)
 {
     StudentDTO studentDto = _studentBus.GetById(id);
     var student = new Student(studentDto);
     return View(student);
 }