public ActionResult Edit(int id, lotrinh collection)
        {
            if (ModelState.IsValid)
            {
                var dao = new LoTrinhDao();



                var result = dao.Update(collection, id);
                if (result)
                {
                    return(RedirectToAction("Index", "LoTrinh"));
                }
                else
                {
                    ModelState.AddModelError("", "Cập nhật không thành công");
                }
            }
            return(View("Index"));
        }