Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 public static bool UpdateNotifycation(Notifycation Notify)
 {
     Boolean flag = false;
     try
     {
     Icontext objinter = new BALNotifycation();
     flag = objinter.UpdateRecord(Notify);
     }
     catch (Exception ex)
     {
     throw;
     }
     return flag;
 }
Esempio n. 3
0
 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;
     }
 }
Esempio n. 4
0
 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;
     }
 }
Esempio n. 5
0
 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;
     }
 }
Esempio n. 6
0
 public static Boolean CreateNotification(Notifycation Notify)
 {
     Boolean flag = false;
     try
     {
     Icontext objtext = new BALNotifycation();
     flag = objtext.CreateRecord(Notify);
     }
     catch (Exception ex)
     {
     throw;
     }
     return flag;
 }