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