public static Boolean CreateCorrespondenceNotes(CorrespondenceNotesMaster Correspondence) { Boolean flag = false; try { IRecordInsert objtext = new BALCorrespondence(); flag = objtext.AddRecord(Correspondence); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.CorrespondenceNotesList> CorresPondenceNotesRecordList(String ClientID, String SiteID, String propertyID, String OwnerID, String ConsumerID) { try { IListView5 objtext = new BALCorrespondence(); IEnumerable<DAL.CorrespondenceNotesList> listRecord = (IEnumerable<DAL.CorrespondenceNotesList>)objtext.RecordList(ClientID, SiteID, propertyID, OwnerID, ConsumerID); return listRecord; } catch (Exception ex) { throw; } }