예제 #1
0
        private int DeleteCostRecord(T_OA_COSTRECORD cvInfo)
        {
            CostRecordManagementBll crmBll = new CostRecordManagementBll();

            if (crmBll.DeleteInfo(cvInfo) == true)
            {
                return(1);
            }
            return(-1);
        }
예제 #2
0
        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);
        }
예제 #3
0
 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;
 }
예제 #4
0
 private int DeleteCostRecord(T_OA_COSTRECORD cvInfo)
 {
     CostRecordManagementBll crmBll = new CostRecordManagementBll();
     if (crmBll.DeleteInfo(cvInfo) == true)
     {
         return 1;
     }
     return -1;
 }