//Xóa loại xn public static void DeleteParaName(int pId) { try { if (TblParamMapping.FetchByID(pId) != null) { TblParamMapping.Delete(pId); } } catch (Exception e) { throw e; } }
public static void UpdateParaMaping(TblParamMapping pitems) { try { if (TblParamMapping.FetchByID(pitems.Id) != null) { pitems.IsNew = false; pitems.Save(); } } catch (Exception ex) { throw ex; } }