Exemple #1
0
 public static IEnumerable<DAL.BillCreditControlList> BillCreditControlRecordList(String PropertyID, String OwnerID, String ConsumerID)
 {
     try
        {
        IRecordList3 objtext = new BALBillCreditControl();
        IEnumerable<DAL.BillCreditControlList> listRecord = (IEnumerable<DAL.BillCreditControlList>)objtext.RecordList(PropertyID, OwnerID, ConsumerID);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
 public static BillCreditControlList ViewCreditControlReminderLetter(String ID)
 {
     try
     {
         IGetRecordView objinter = new BALBillCreditControl();
         BillCreditControlList objview = (BillCreditControlList)objinter.GetRecord(ID);
         return objview;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
        public static Boolean UpdateCreditControl(BillCreditControlList Credit)
        {
            Boolean flag = false;
            try
            {
                IUpdate objtext = new BALBillCreditControl();
                flag = objtext.UpdateRecord(Credit);
            }
            catch (Exception ex)
            {
                throw;
            }

            return flag;
        }
        public static Boolean UpdateCreditControlWorkFlowAction(BillCreditControlList Credit)
        {
            Boolean flag = false;
            try
            {
                IRecordInsert objtext = new BALBillCreditControl();
                flag = objtext.AddRecord(Credit);
            }
            catch (Exception ex)
            {
                throw;
            }

            return flag;
        }
 public static IEnumerable<DAL.BillCreditControlList> BillCreditControlRecordList()
 {
     try
     {
         IListRecord objtext = new BALBillCreditControl();
         IEnumerable<DAL.BillCreditControlList> listRecord = (IEnumerable<DAL.BillCreditControlList>)objtext.ListRecord();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }