public static Communication ViewCommunication(String communID) { try { Icontext objinter = new BALCommunication(); Communication commun = (Communication)objinter.ViewRecord(Convert.ToInt64(communID)); return commun; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.CommunicationWrapper> CommunicationList(String Field, String Value) { try { ISearchResult objtext = new BALCommunication(); IEnumerable<DAL.CommunicationWrapper> listRecord = (IEnumerable<DAL.CommunicationWrapper>)objtext.SearchResultList(Field, Value); return listRecord; } catch (Exception ex) { throw; } }
public static bool UpdateCommunication(CommunicationMaster commun) { Boolean flag = false; try { Icontext objinter = new BALCommunication(); flag = objinter.UpdateRecord(commun); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.CommunicationWrapper> CommunicationList() { try { Icontext objtext = new BALCommunication(); IEnumerable<DAL.CommunicationWrapper> listRecord = (IEnumerable<DAL.CommunicationWrapper>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }