/// <summary> /// Hàm Delete 1 dòng trên grid /// </summary> /// <param name="pId"></param> public static void DelteTestTypeList(int pId) { try { if (TTestTypeList.FetchByID(pId) != null) { TTestTypeList.Delete(pId); } } catch (Exception ex) { throw ex; } }
/// <summary> /// Hàm Update dữ liệu trên Grid /// </summary> /// <param name="pitems"></param> public static void UpdateTestTypeList(TTestTypeList pitems) { try { if (TTestTypeList.FetchByID(pitems.TestTypeId) != null) { pitems.IsNew = false; pitems.Save(); } } catch (Exception ex) { throw ex; } }