public static Boolean CreateCorrespondenceDocument(CorrespondenceDocumentMaster Correspondence) { Boolean flag = false; try { IRecordInsert objtext = new BALCorrespondenceDocument(); flag = objtext.AddRecord(Correspondence); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.CorrespondenceDocumentList> CorresPondenceDocumentRecordList(String ClientID, String SiteID, String propertyID, String OwnerID, String ConsumerID) { try { IListView5 objtext = new BALCorrespondenceDocument(); IEnumerable<DAL.CorrespondenceDocumentList> listRecord = (IEnumerable<DAL.CorrespondenceDocumentList>)objtext.RecordList(ClientID, SiteID, propertyID, OwnerID, ConsumerID); return listRecord; } catch (Exception ex) { throw; } }