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