public static NotificationList ViewNotification(String NotifyID) { try { Icontext objinter = new BALNotifycation(); NotificationList notify = (NotificationList)objinter.ViewRecord(Convert.ToInt64(NotifyID)); return notify; } catch (Exception ex) { throw; } }
public static bool UpdateNotifycation(Notifycation Notify) { Boolean flag = false; try { Icontext objinter = new BALNotifycation(); flag = objinter.UpdateRecord(Notify); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.NotificationList> NotificationList(String Field, String Value) { try { ISearchResult objtext = new BALNotifycation(); IEnumerable<DAL.NotificationList> listRecord = (IEnumerable<DAL.NotificationList>)objtext.SearchResultList(Field, Value); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.NotificationList> NotificationList() { try { Icontext objtext = new BALNotifycation(); IEnumerable<DAL.NotificationList> listRecord = (IEnumerable<DAL.NotificationList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static Notifycation EditNotifycation(String NotifyID) { try { Icontext objinter = new BALNotifycation(); Notifycation notify = (Notifycation)objinter.EditRecord(Convert.ToInt64(NotifyID)); return notify; } catch (Exception ex) { throw; } }
public static Boolean CreateNotification(Notifycation Notify) { Boolean flag = false; try { Icontext objtext = new BALNotifycation(); flag = objtext.CreateRecord(Notify); } catch (Exception ex) { throw; } return flag; }