private int DeleteCostRecord(T_OA_COSTRECORD cvInfo) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); if (crmBll.DeleteInfo(cvInfo) == true) { return(1); } return(-1); }
private int DeleteCostRecordList(List <T_OA_COSTRECORD> cvInfoList) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); foreach (T_OA_COSTRECORD cvInfo in cvInfoList) { if (crmBll.DeleteInfo(cvInfo) != true) { return(-1); } } return(1); }
private int DeleteCostRecordList(List<T_OA_COSTRECORD> cvInfoList) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); foreach (T_OA_COSTRECORD cvInfo in cvInfoList) { if (crmBll.DeleteInfo(cvInfo) != true) { return -1; } } return 1; }
private int DeleteCostRecord(T_OA_COSTRECORD cvInfo) { CostRecordManagementBll crmBll = new CostRecordManagementBll(); if (crmBll.DeleteInfo(cvInfo) == true) { return 1; } return -1; }