public static bool SuaTheLoai(TheLoaiDTO tl) { if (TheLoaiDAO.GetTheLoaiByMa(tl.MaTheLoai) != null) { TheLoaiDAO.Update(tl); return(true); } else { return(false); } }