Ejemplo n.º 1
0
 public ActionResult EditDanhMuc(DanhMuc dm)
 {
     if (ModelState.IsValid)
     {
         DanhMucDAO danhMucDAO = new DanhMucDAO();
         danhMucDAO.Edit(dm);
         return(Redirect("Index"));
     }
     else
     {
         return(View("Edit", dm));
     }
 }