private int UpdateCostRecord(T_OA_COSTRECORD cvInfo) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); if (crmBll.UpdateInfo(cvInfo) == -1) { return -1; } return 1; }
private int UpdateCostRecord(T_OA_COSTRECORD cvInfo) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); if (crmBll.UpdateInfo(cvInfo) == -1) { return(-1); } return(1); }
private int UpdateCostRecordList(List<T_OA_COSTRECORD> cvInfoList) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); foreach (T_OA_COSTRECORD cvInfo in cvInfoList) { if (crmBll.UpdateInfo(cvInfo) == -1) { return -1; } } return 1; }
private int UpdateCostRecordList(List <T_OA_COSTRECORD> cvInfoList) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); foreach (T_OA_COSTRECORD cvInfo in cvInfoList) { if (crmBll.UpdateInfo(cvInfo) == -1) { return(-1); } } return(1); }