public bool DeleteApporvalTemplet(T_OA_APPROVALINFOTEMPLET approvakInfo)
        {
            ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll();

            //using (ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll())
            //{
            return(approvalBll.DeleteApprovalTemplet(approvakInfo));
            //}
        }
        public int DeleteApporvalTempletList(List <T_OA_APPROVALINFOTEMPLET> approvakInfo)
        {
            ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll();

            //using (ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll())
            //{
            foreach (T_OA_APPROVALINFOTEMPLET obj in approvakInfo)
            {
                if (!approvalBll.DeleteApprovalTemplet(obj))
                {
                    return(-1);
                }
            }
            return(1);
            //}
        }
Exemplo n.º 3
0
 public int DeleteApporvalTempletList(List<T_OA_APPROVALINFOTEMPLET> approvakInfo)
 {
     ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll();
     //using (ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll())
     //{
     foreach (T_OA_APPROVALINFOTEMPLET obj in approvakInfo)
     {
         if (!approvalBll.DeleteApprovalTemplet(obj))
         {
             return -1;
         }
     }
     return 1;
     //}
 }
Exemplo n.º 4
0
 public bool DeleteApporvalTemplet(T_OA_APPROVALINFOTEMPLET approvakInfo)
 {
     ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll();
     //using (ApprovalTempletManagementBll approvalBll = new ApprovalTempletManagementBll())
     //{
     return approvalBll.DeleteApprovalTemplet(approvakInfo);
     //}
 }